diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ccabaae..7d8749d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,8 @@ jobs: run: | VERSION=${GITHUB_REF#refs/tags/} MAJOR=${VERSION%%.*} - git config --global user.name "GitHub Actions" + git config user.name "$(git log -n 1 --pretty=format:%an)" + git config user.email "$(git log -n 1 --pretty=format:%ae)" echo "Updating ${MAJOR} tag" git tag -fa ${MAJOR} -m "Update major version tag" git push origin ${MAJOR} --force \ No newline at end of file