mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-12-25 12:55:09 -07:00
feat(golang-rewrite): correct asdf-version workflow step to produce version as output
This commit is contained in:
parent
c18b2de10f
commit
d80b409b65
4
.github/workflows/release-build.yml
vendored
4
.github/workflows/release-build.yml
vendored
@ -101,7 +101,7 @@ jobs:
|
|||||||
- name: Compute asdf version
|
- name: Compute asdf version
|
||||||
id: asdf-version
|
id: asdf-version
|
||||||
shell: bash
|
shell: bash
|
||||||
run: './scripts/asdf-version'
|
run: 'echo "name=version::$(./scripts/asdf-version)"'
|
||||||
- name: Build Go binaries
|
- name: Build Go binaries
|
||||||
uses: wangyoucao577/go-release-action@v1
|
uses: wangyoucao577/go-release-action@v1
|
||||||
with:
|
with:
|
||||||
@ -112,4 +112,4 @@ jobs:
|
|||||||
binary_name: "asdf"
|
binary_name: "asdf"
|
||||||
release_tag: ${{ needs.generate-release-tag.outputs.tag }}
|
release_tag: ${{ needs.generate-release-tag.outputs.tag }}
|
||||||
release_name: ${{ 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 }}'
|
||||||
|
Loading…
Reference in New Issue
Block a user