Skip to content

Commit

Permalink
Adjust release config.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Nov 8, 2019
1 parent 57126f7 commit 7f6b511
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ jobs:
- name: Release project
run: |
echo "${{ secrets.gpg_secret }}" | gpg --batch --import
gpg --list-private-keys
./mvnw -B -s .mvn/release.settings.xml release:prepare release:perform -Drepository.url=https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git -Dbintray.username=raphw -Dbintray.password=${{ secrets.bintray_password }} -Dgpg.passphrase=${{ secrets.gpg_passphrase }} -Dgradle.publish.key=${{ secrets.gradle_key }} -Dgradle.publish.secret=${{ secrets.gradle_secret }}
./mvnw -B -s .mvn/release.settings.xml release:prepare release:perform -Drepository.url=https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git -Dbintray.username=raphw -Dbintray.password=${{ secrets.bintray_password }} -Dgpg.passphrase=${{ secrets.gpg_passphrase }} -Dgpg.keyname=7999BEFBA1039E8B -Dgradle.key=${{ secrets.gradle_key }} -Dgradle.secret=${{ secrets.gradle_secret }}
9 changes: 9 additions & 0 deletions .mvn/release.settings.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
<settings>
<profiles>
<profile>
<id>gradle</id>
<properties>
<gradle.publish.key>${gradle.key}</gradle.publish.key>
<gradle.publish.secret>${gradle.secret}</gradle.publish.secret>
</properties>
</profile>
</profiles>
<servers>
<server>
<id>gpg.passphrase</id>
Expand Down

0 comments on commit 7f6b511

Please sign in to comment.