ci: fix tag versioning by fetching all tags in workflows
This commit is contained in:
@@ -38,6 +38,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
# Tells the action to use the local 'git' binary we just installed
|
# Tells the action to use the local 'git' binary we just installed
|
||||||
set-safe-directory: 'true'
|
set-safe-directory: 'true'
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Determine Version
|
- name: Determine Version
|
||||||
run: |
|
run: |
|
||||||
@@ -62,5 +63,5 @@ jobs:
|
|||||||
|
|
||||||
- name: Tag and Push Version
|
- name: Tag and Push Version
|
||||||
run: |
|
run: |
|
||||||
git tag $VERSION
|
git tag $VERSION
|
||||||
git push origin $VERSION
|
git push origin $VERSION
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
# Tells the action to use the local 'git' binary we just installed
|
# Tells the action to use the local 'git' binary we just installed
|
||||||
set-safe-directory: 'true'
|
set-safe-directory: 'true'
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Determine Version
|
- name: Determine Version
|
||||||
run: |
|
run: |
|
||||||
@@ -62,5 +63,5 @@ jobs:
|
|||||||
|
|
||||||
- name: Tag and Push Version
|
- name: Tag and Push Version
|
||||||
run: |
|
run: |
|
||||||
git tag $VERSION
|
git tag $VERSION
|
||||||
git push origin $VERSION
|
git push origin $VERSION
|
||||||
|
|||||||
Reference in New Issue
Block a user