-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ddec5db
commit 49d4e82
Showing
7 changed files
with
92 additions
and
4 deletions.
There are no files selected for viewing
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,27 @@ | ||
set -euo pipefail | ||
IFS=$'\n\t' | ||
|
||
function cleanup { | ||
echo "🧹 Cleanup..." | ||
rm -f gradle.properties golo-dev-sign.asc | ||
} | ||
|
||
trap cleanup SIGINT SIGTERM ERR EXIT | ||
|
||
echo "🚀 Preparing to deploy..." | ||
|
||
echo "🔑 Decrypting files..." | ||
|
||
gpg --quiet --batch --yes --decrypt --passphrase="${GPG_SECRET}" \ | ||
--output golo-dev-sign.asc .build/golo-dev-sign.asc.gpg | ||
|
||
gpg --quiet --batch --yes --decrypt --passphrase="${GPG_SECRET}" \ | ||
--output gradle.properties .build/gradle.properties.gpg | ||
|
||
gpg --fast-import --no-tty --batch --yes golo-dev-sign.asc | ||
|
||
echo "📦 Publishing..." | ||
|
||
gradle publish | ||
|
||
echo "✅ Done!" |
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,27 @@ | ||
set -euo pipefail | ||
IFS=$'\n\t' | ||
|
||
function cleanup { | ||
echo "🧹 Cleanup..." | ||
rm -f gradle.properties golo-dev-sign.asc | ||
} | ||
|
||
trap cleanup SIGINT SIGTERM ERR EXIT | ||
|
||
echo "🚀 Preparing to deploy..." | ||
|
||
echo "🔑 Decrypting files..." | ||
|
||
gpg --quiet --batch --yes --decrypt --passphrase="${GPG_SECRET}" \ | ||
--output smoothbear04-sign.asc .github/workflows/commands/gpg/smoothbear04-sign.asc.gpg | ||
|
||
gpg --quiet --batch --yes --decrypt --passphrase="${GPG_SECRET}" \ | ||
--output gradle.properties .github/workflows/commands/gpg/gradle.properties.gpg | ||
|
||
gpg --fast-import --no-tty --batch --yes .github/workflows/commands/gpg/smoothbear04-sign.asc | ||
|
||
echo "📦 Publishing..." | ||
|
||
gradle publish | ||
|
||
echo "✅ Done!" |
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
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# Gradle | ||
.gradle | ||
gradle.properties | ||
|
||
# IDE Settings | ||
.idea | ||
|
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