forked from spotbugs/spotbugs-archetype
-
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.
chore: Introduce semantic-release to automate release (spotbugs#20)
* fix: bump up SpotBugs tp 3.1.12 * build: specify encoding to apply to copying resource https://maven.apache.org/general.html\#encoding-warning * ci: introduce semantic-release * docs: bump up the version in README * chore(ci): add gpg key and secret key to sign artifacts * ci: use openjdk to build * reorganize gpg related tasks
- Loading branch information
Showing
11 changed files
with
5,134 additions
and
93 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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
node_modules | ||
target | ||
.project | ||
.settings | ||
.travis/codesigning.asc |
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,2 @@ | ||
8 | ||
|
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,4 +1,14 @@ | ||
language: java | ||
jdk: oraclejdk8 | ||
jdk: openjdk8 | ||
install: | ||
- nvm install | ||
- yarn install | ||
- if [ -n "$encrypted_1636434a17e8_key" ]; then openssl aes-256-cbc -K $encrypted_1636434a17e8_key -iv $encrypted_1636434a17e8_iv -in .travis/codesigning.asc.enc -out .travis/codesigning.asc -d; fi | ||
- if [ -f ".travis/codesigning.asc" ]; then gpg --import .travis/codesigning.asc; fi | ||
script: | ||
- ./mvnw verify | ||
- ./mvnw -V -B verify | ||
jobs: | ||
include: | ||
- stage: deploy | ||
script: | ||
- travis_wait yarn run semantic-release |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
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,22 @@ | ||
<settings> | ||
<servers> | ||
<server> | ||
<id>ossrh</id> | ||
<username>${env.OSSRH_JIRA_USERNAME}</username> | ||
<password>${env.OSSRH_JIRA_PASSWORD}</password> | ||
</server> | ||
</servers> | ||
<profiles> | ||
<profile> | ||
<id>release</id> | ||
<activation> | ||
<activeByDefault>true</activeByDefault> | ||
</activation> | ||
<properties> | ||
<gpg.executable>gpg</gpg.executable> | ||
<gpg.keyname>${env.GPG_KEY_NAME}</gpg.keyname> | ||
<gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase> | ||
</properties> | ||
</profile> | ||
</profiles> | ||
</settings> |
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,33 @@ | ||
{ | ||
"scripts": { | ||
"semantic-release": "semantic-release" | ||
}, | ||
"devDependencies": { | ||
"@conveyal/maven-semantic-release": "^4.2.0", | ||
"@semantic-release/changelog": "^3.0.2", | ||
"@semantic-release/commit-analyzer": "^6.1.0", | ||
"@semantic-release/git": "^7.0.8", | ||
"@semantic-release/github": "^5.2.10", | ||
"@semantic-release/release-notes-generator": "^7.1.4", | ||
"semantic-release": "^15.13.3" | ||
}, | ||
"release": { | ||
"tagFormat": "${version}", | ||
"plugins": [ | ||
"@semantic-release/commit-analyzer", | ||
"@semantic-release/release-notes-generator", | ||
"@semantic-release/changelog", | ||
"@semantic-release/github", | ||
"@conveyal/maven-semantic-release", | ||
[ | ||
"@semantic-release/git", | ||
{ | ||
"assets": [ | ||
"pom.xml", | ||
"CHANGELOG.md" | ||
] | ||
} | ||
] | ||
] | ||
} | ||
} |
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
Oops, something went wrong.