Skip to content

Commit

Permalink
Update create_tag.yml [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
dougmassay authored Jul 21, 2023
1 parent 2a00978 commit fd58c70
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/create_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
id: create_archive
if: ${{ steps.check_tag_name.outputs.match != '' }}
run: |
export GPG_TTY=$(tty)
git config tar.tar.gz.command 'gzip -cn'
git tag -s ${{ github.event.inputs.tag_name }} -m 'Tag for ${{ github.event.inputs.tag_name }} release'
git push origin ${{ github.event.inputs.tag_name }}
Expand All @@ -49,9 +50,9 @@ jobs:
echo "fname=$FNAME" >> $GITHUB_OUTPUT
URL="https://github.com/$GITHUB_REPOSITORY/archive/refs/tags/${{ github.event.inputs.tag_name }}.zip"
git archive --prefix=${REPO}-${TAG#v}/ -o ${FNAME}.tar.gz ${TAG}
gpg --detach-sign --pinentry-mode loopback --no-tty --passphrase ${{ secrets.SIGNING_BONUS_PHRASE }} ${FNAME}.tar.gz
gpg --detach-sign --pinentry-mode loopback --passphrase ${{ secrets.SIGNING_BONUS_PHRASE }} ${FNAME}.tar.gz
curl -L -o ${FNAME}.zip ${URL}
gpg --detach-sign --pinentry-mode loopback --no-tty --passphrase ${{ secrets.SIGNING_BONUS_PHRASE }} ${FNAME}.zip
gpg --detach-sign --pinentry-mode loopback --passphrase ${{ secrets.SIGNING_BONUS_PHRASE }} ${FNAME}.zip
- name: Create Release
if: ${{ steps.check_tag_name.outputs.match != '' }}
Expand Down

0 comments on commit fd58c70

Please sign in to comment.