fix: Add git configuration for tagging in release workflow
This commit is contained in:
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@@ -52,6 +52,15 @@ jobs:
|
|||||||
echo "exists=false" >> "$GITHUB_OUTPUT"
|
echo "exists=false" >> "$GITHUB_OUTPUT"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Maak of update git-tag
|
||||||
|
if: steps.tagcheck.outputs.exists == 'false'
|
||||||
|
run: |
|
||||||
|
TAG="v${{ steps.meta.outputs.version }}"
|
||||||
|
git config user.name "github-actions[bot]"
|
||||||
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
|
git tag "$TAG" "$GITHUB_SHA"
|
||||||
|
git push origin "$TAG"
|
||||||
|
|
||||||
- name: Tag bestaat al – workflow afronden
|
- name: Tag bestaat al – workflow afronden
|
||||||
if: steps.tagcheck.outputs.exists == 'true'
|
if: steps.tagcheck.outputs.exists == 'true'
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user