Skip to content

Commit a012511

Browse files
committed
Limit rev parse for tag-rel action.
Signed-off-by: Humair Khan <[email protected]>
1 parent 0ad8ced commit a012511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tag-release-quay.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
run: echo "tag=$(git describe --tags --abbrev=0)" >> ${GITHUB_OUTPUT}
4848
- name: Get latest tag hash
4949
id: hash
50-
run: echo "hash=$(git rev-parse --short ${{ steps.tag.outputs.tag }} )" >> ${GITHUB_OUTPUT}
50+
run: echo "hash=$(git rev-parse --short=7 ${{ steps.tag.outputs.tag }} )" >> ${GITHUB_OUTPUT}
5151
- name: Create new tag
5252
shell: bash
5353
env:

0 commit comments

Comments
 (0)