Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
petertrr authored Sep 13, 2020
1 parent f3ec3b3 commit 3862140
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 @@ -31,9 +31,9 @@ jobs:
run: |
echo ::set-env name=PREVIOUS_VERSION::$(printf 'VERSION=${diktat-check.version}\n0\n' | mvn help:evaluate | grep '^VERSION' | cut -d= -f2)
echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#'refs/tags/v'}
echo $DIKTAT_GPG_PUB > ~/diktat.pubring.gpg
echo $DIKTAT_GPG_SEC > ~/diktat.secring.gpg
cat ~/diktat.pubring.gpg
echo "$DIKTAT_GPG_PUB" > ~/diktat.pubring.gpg
echo "$DIKTAT_GPG_SEC" > ~/diktat.secring.gpg
wc -l ~/diktat.pubring.gpg
gpg --import ~/diktat.pubring.gpg
gpg --batch --yes --import ~/diktat.secring.gpg
- name: Set version
Expand Down

0 comments on commit 3862140

Please sign in to comment.