Skip to content

Commit

Permalink
[#82] Set short sha for release
Browse files Browse the repository at this point in the history
  • Loading branch information
juampynr committed Jul 6, 2022
1 parent 3472d5c commit fde0259
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ jobs:
export PATH=$PATH:/usr/local/go/bin
go version
go build
- name: Set short sha
id: vars
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- uses: marvinpinto/action-automatic-releases@latest
with:
automatic_release_tag: "${{ github.sha }}"
automatic_release_tag: ${{ steps.vars.outputs.sha_short }}
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
Expand Down

0 comments on commit fde0259

Please sign in to comment.