We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45c2c5c commit 98c2d6bCopy full SHA for 98c2d6b
.github/workflows/release.yml
@@ -13,7 +13,8 @@ jobs:
13
run: |
14
VERSION=${GITHUB_REF#refs/tags/}
15
MAJOR=${VERSION%%.*}
16
- git config --global user.name "GitHub Actions"
+ git config user.name "$(git log -n 1 --pretty=format:%an)"
17
+ git config user.email "$(git log -n 1 --pretty=format:%ae)"
18
echo "Updating ${MAJOR} tag"
19
git tag -fa ${MAJOR} -m "Update major version tag"
20
git push origin ${MAJOR} --force
0 commit comments