Merge pull request #79 from asdf-vm/tb/asdf-version-info-fix

feat(golang-rewrite): correct asdf-version workflow step to produce version as output
This commit is contained in:
Trevor Brown 2024-11-23 15:27:51 -05:00 committed by Trevor Brown
commit 96124c416f

View File

@ -101,7 +101,7 @@ jobs:
- name: Compute asdf version
id: asdf-version
shell: bash
run: './scripts/asdf-version'
run: 'echo "name=version::$(./scripts/asdf-version)"'
- name: Build Go binaries
uses: wangyoucao577/go-release-action@v1
with:
@ -112,4 +112,4 @@ jobs:
binary_name: "asdf"
release_tag: ${{ needs.generate-release-tag.outputs.tag }}
release_name: ${{ needs.generate-release-tag.outputs.tag }}
ldflags: '-s -X main.version=${{ steps.asdf-version.outputs.stdout }}'
ldflags: '-s -X main.version=${{ steps.asdf-version.outputs.version }}'