Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit fde0259

Browse files
committed
[#82] Set short sha for release
1 parent 3472d5c commit fde0259

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/create-release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@ jobs:
1717
export PATH=$PATH:/usr/local/go/bin
1818
go version
1919
go build
20+
- name: Set short sha
21+
id: vars
22+
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
2023
- uses: marvinpinto/action-automatic-releases@latest
2124
with:
22-
automatic_release_tag: "${{ github.sha }}"
25+
automatic_release_tag: ${{ steps.vars.outputs.sha_short }}
2326
repo_token: "${{ secrets.GITHUB_TOKEN }}"
2427
prerelease: false
2528
files: |

0 commit comments

Comments
 (0)