Skip to content

Commit

Permalink
.github : * update github action variable.
Browse files Browse the repository at this point in the history
Signed-off-by: CFC4N <[email protected]>
  • Loading branch information
cfc4n committed Apr 21, 2022
1 parent f330d51 commit 57fec96
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Get the version
id: get_tags
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
shell: bash
- name: Set up Go
uses: actions/setup-go@v2
with:
Expand All @@ -31,4 +35,4 @@ jobs:
gh auth login --with-token <<<'${{ secrets.GITHUB_TOKEN }}'
- name: Release
run: |
make -f builder/Makefile.release release SNAPSHOT_VERSION=${{ steps.vars.outputs.tag }}
make -f builder/Makefile.release release SNAPSHOT_VERSION=${{ steps.get_tags.outputs.VERSION }}

0 comments on commit 57fec96

Please sign in to comment.