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 fd58c70 commit aa5fcd7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/create_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ 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 @@ -50,9 +49,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 --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 --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 aa5fcd7

Please sign in to comment.