Skip to content

Commit a08bb14

Browse files
authored
Merge pull request opendatahub-io#101 from HumairAK/tag_rel
Limit rev parse for tag-rel action.
2 parents 0ad8ced + a012511 commit a08bb14

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)