We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a761890 commit ba4597aCopy full SHA for ba4597a
.github/workflows/release.yml
@@ -17,12 +17,14 @@ jobs:
17
go-version-file: 'go.mod'
18
- name: Describe plugin
19
id: plugin_describe
20
- run: echo "name=api_version::$(go run . describe | jq -r '.api_version')" >> $GITHUB_OUTPUT
+ run: |
21
+ set -e
22
+ API_VERSION=$(go run . describe | jq -r '.api_version')
23
+ echo "API_VERSION=$API_VERSION" >> "$GITHUB_ENV"
24
- name: Run GoReleaser
25
uses: goreleaser/goreleaser-action@v6
26
with:
27
version: latest
28
args: release --clean
29
env:
30
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- API_VERSION: ${{ steps.plugin_describe.outputs.api_version }}
0 commit comments