Skip to content

Commit 572ed07

Browse files
committed
feat(golang-rewrite): correct asdf-version workflow step to produce version as output
1 parent 19a0597 commit 572ed07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
- name: Compute asdf version
102102
id: asdf-version
103103
shell: bash
104-
run: 'echo "name=version::$(./scripts/asdf-version)"'
104+
run: echo "version=$(./scripts/asdf-version)" >> "$GITHUB_OUTPUT"
105105
- name: Build Go binaries
106106
uses: wangyoucao577/go-release-action@v1
107107
with:
@@ -112,4 +112,4 @@ jobs:
112112
binary_name: "asdf"
113113
release_tag: ${{ needs.generate-release-tag.outputs.tag }}
114114
release_name: ${{ needs.generate-release-tag.outputs.tag }}
115-
ldflags: '-s -X main.version=${{ steps.asdf-version.outputs.version }}'
115+
ldflags: -s -X main.version=${{ steps.asdf-version.outputs.version }}

0 commit comments

Comments
 (0)