-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
23: Implement automated build and deploy to Sonatype Nexus
- key is still propagating it may take 24 hours before it works
- Loading branch information
John Cairns
committed
Sep 7, 2020
1 parent
d37c238
commit 304a158
Showing
6 changed files
with
41 additions
and
14 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
mkdir -m 700 -p ${HOME}/distribution | ||
|
||
|
||
for keyfile in distribution.key distribution_secret.key | ||
do | ||
|
||
echo "Decrypt ${keyfile}" | ||
|
||
gpg --quiet --batch --yes --decrypt --passphrase="${GPG_KEYRING}" --output ${HOME}/distribution/${keyfile} .github/distribution/${keyfile}.gpg | ||
sha256sum ${HOME}/distribution/${keyfile} | ||
done | ||
|
||
|
||
echo 'Import keys' | ||
gpg --import ${HOME}/distribution/distribution.key | ||
|
||
gpg --allow-secret-key-import --import ${HOME}/distribution/distribution_secret.key | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<settings> | ||
<servers> | ||
<server> | ||
<id>ossrh</id> | ||
<username>KwiIRYwB</username> | ||
<password>KcLTBRYUrFmgwwjJj0fZMZUpg9Fn2mCZ8oASR4KUkY03</password> | ||
</server> | ||
</servers> | ||
</settings> | ||
|