Skip to content

Commit

Permalink
Switch to upstream ghaction-import-gpg action
Browse files Browse the repository at this point in the history
hashicorp/ghaction-import-gpg has been deprecated in favor of crazy-max/ghaction-import-gpg
Reference: hashicorp/ghaction-import-gpg#11
  • Loading branch information
schirevko committed Jul 19, 2022
1 parent 2b8181d commit c566b39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ jobs:
-
name: Import GPG key
id: import_gpg
uses: hashicorp/ghaction-import-gpg@v2.1.0
uses: crazy-max/ghaction-import-gpg@v5
env:
# These secrets will need to be configured for the repository:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
PASSPHRASE: ${{ secrets.PASSPHRASE }}
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
-
name: Generate release notes
run: CURRENT_TAG=$(git describe --abbrev=0 --match='v*.*.*' --tags); PREVIOUS_TAG=$(git describe --abbrev=0 --exclude="$CURRENT_TAG" --match='v*.*.*' --tags); sed -n -e "0,/#### $CURRENT_TAG/d" -e "/#### $PREVIOUS_TAG/q;p" CHANGELOG.md > release-notes.txt
Expand Down

0 comments on commit c566b39

Please sign in to comment.