Skip to content

Commit

Permalink
Update release_guide.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dodie authored Jan 7, 2019
1 parent bf2a16b commit 9939364
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions docs/release_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,18 @@
# Release

- Bump version.
- Run `mvn clean install` in the root of the project.
- For `scott/scott` and `scott/scott-maven-plugin` do the following: (with the appropriate version numbers):
- `mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=nexus-releases -DpomFile=pom.xml -Dfile=target/scott-1.0.0.jar`
- `mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=nexus-releases -DpomFile=pom.xml -Dfile=target/scott-1.0.0-sources.jar -Dclassifier=sources`
- `mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=nexus-releases -DpomFile=pom.xml -Dfile=target/scott-1.0.0-javadoc.jar -Dclassifier=javadoc`
- For `scott/scott-gradle-plugin`:
- Build everything:
- Run `mvn clean install` in the root of the project.
- Run`./gradlew build` on the `scott-gradle-plugin`.
- Deploy Maven Artifacts:
- For `scott/scott` and `scott/scott-maven-plugin` do the following: (with the appropriate version numbers):
- `mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=nexus-releases -DpomFile=pom.xml -Dfile=target/scott-1.0.0.jar`
- `mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=nexus-releases -DpomFile=pom.xml -Dfile=target/scott-1.0.0-sources.jar -Dclassifier=sources`
- `mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=nexus-releases -DpomFile=pom.xml -Dfile=target/scott-1.0.0-javadoc.jar -Dclassifier=javadoc`
- Sign in to [https://oss.sonatype.org](https://oss.sonatype.org). Find the new repo under "Staging repositories". Make sure that the contents are OK, then hit Close, then Release.
- Deploy `scott/scott-gradle-plugin`:
- `./gradlew publishPlugins`
- Sign in to [https://oss.sonatype.org](https://oss.sonatype.org). Find the new repo under "Staging repositories". Make sure that the contents are OK, then hit Close, then Release.


The Gradle plugin will be released after manual approval. The Maven artifacts will be available in Maven Central after a few hours.

0 comments on commit 9939364

Please sign in to comment.