-
Notifications
You must be signed in to change notification settings - Fork 86
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (with my understanding of actions) 😉
.build/deploy.sh
Outdated
|
||
echo "🧹 Cleanup..." | ||
|
||
rm gradle.properties golo-dev-sign.asc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a trap to clean even if the script is aborted ?
Since you have set -e
, if the ./gradlew publish
fails, the script stops without cleaning...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How would you do that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$ help trap
😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're the expert, fancy a commit on this branch? 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Automated CI/CD pipeline to Sonatype OSS
A signing key and
gradle.properties
with credentials are encrypted.