Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #80 from asdf-vm/tb/asdf-version-info-fix-2
Browse files Browse the repository at this point in the history
feat(golang-rewrite): correct asdf-version workflow step to produce version as output (second attempt)
  • Loading branch information
Stratus3D committed Dec 18, 2024
2 parents 1d83d64 + 572ed07 commit 20a7f85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
- name: Compute asdf version
id: asdf-version
shell: bash
run: 'echo "name=version::$(./scripts/asdf-version)"'
run: echo "version=$(./scripts/asdf-version)" >> "$GITHUB_OUTPUT"
- name: Build Go binaries
uses: wangyoucao577/go-release-action@v1
with:
Expand All @@ -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.version }}'
ldflags: -s -X main.version=${{ steps.asdf-version.outputs.version }}

0 comments on commit 20a7f85

Please sign in to comment.