added gpg signing for new tags
All checks were successful
Autotagger / Autotagger (push) Successful in 14s
Build / Export Files (push) Successful in 10s
Build / Documentation (push) Successful in 25s

This commit is contained in:
SeaswimmerTheFsh 2024-03-25 21:29:40 -04:00
parent cfeec53997
commit 9508835d00
Signed by: cswimr
GPG key ID: B8953EC01E5C4063
2 changed files with 9 additions and 2 deletions

View file

@ -19,6 +19,12 @@ jobs:
git config --global user.name "GalacticFactory"
git config --global user.email "contact@galacticfactory.cc"
- name: Import GPG key
uses: actions/gpg@v4
with:
gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
passphrase : ${{ secrets.GPG_PASSPHRASE }}
- name: Extract commit message
id: extract_commit_message
run: echo "::set-output name=message::$(git log --format=%B -n 1 $GITHUB_SHA)"
@ -43,7 +49,7 @@ jobs:
if: steps.check_commit_message.outputs.version
run: |
VERSION=${{ steps.check_commit_message.outputs.version }}
git tag -a $VERSION -m "version bumped to $VERSION"
git tag -sa $VERSION -m "version bumped to $VERSION"
git push origin $VERSION
- name: Update latest tag
@ -51,5 +57,5 @@ jobs:
run: |
COMMIT_MESSAGE=$(echo "${{ steps.extract_commit_message.outputs.message }}")
LATEST_TAG=${{ steps.check_commit_message.outputs.latest_tag }}
git tag -fa $LATEST_TAG -m "$COMMIT_MESSAGE"
git tag -fsa $LATEST_TAG -m "$COMMIT_MESSAGE"
git push origin $LATEST_TAG --force

1
.gitignore vendored
View file

@ -5,3 +5,4 @@
.cache
/site
.venv/
temp.sh