|
@ -496,8 +496,6 @@ jobs: |
|
|
|
|
|
|
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
- uses: actions/checkout@v2 |
|
|
with: |
|
|
|
|
|
fetch-depth: 0 |
|
|
|
|
|
|
|
|
|
|
|
# There is something strange with the github runners |
|
|
# There is something strange with the github runners |
|
|
# normally, `git for-each-ref refs/tags` will show annotated tags |
|
|
# normally, `git for-each-ref refs/tags` will show annotated tags |
|
@ -514,7 +512,7 @@ jobs: |
|
|
# We try to build a workaround |
|
|
# We try to build a workaround |
|
|
- name: Get Tag Type |
|
|
- name: Get Tag Type |
|
|
run: | |
|
|
run: | |
|
|
git pull --tags |
|
|
git pull --tags --force |
|
|
if git cat-file tag $GITHUB_REF; then TYPE=tag; else TYPE=commit; fi |
|
|
if git cat-file tag $GITHUB_REF; then TYPE=tag; else TYPE=commit; fi |
|
|
echo "::set-output name=TAGTYPE::$TYPE" |
|
|
echo "::set-output name=TAGTYPE::$TYPE" |
|
|
|
|
|
|
|
|