-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor changes and formatting in build file Migrated from Legacy OSSRH to Central publishing, token is used to publish
- Loading branch information
1 parent
65b6a11
commit cce75b0
Showing
3 changed files
with
67 additions
and
10 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,46 @@ | ||
### Release process | ||
|
||
#### Verify gpg is working | ||
|
||
```sh | ||
echo "test" | gpg --clearsign -u F7E440260BAE93EB4AD2723D6613CA76E011F638 | ||
``` | ||
|
||
```text | ||
export SONATYPE_USERNAME=<<username>> | ||
export SONATYPE_PASSWORD=<<password>> | ||
``` | ||
|
||
#### And in your credentials file (~/.sbt/1.0/sonatype.sbt): | ||
|
||
``` | ||
credentials += Credentials( | ||
"Sonatype Nexus Repository Manager", | ||
"s01.oss.sonatype.org", // Note the s01 subdomain | ||
"your-username", | ||
"your-password" | ||
) | ||
``` | ||
|
||
#### Copy sonatype.sbt to sonatype.credentials | ||
|
||
``` | ||
cp sonatype.sbt sonatype.credentials | ||
``` | ||
### Run sbt commands | ||
```sh | ||
sbt release | ||
*** Current release and next release has to be same. | ||
|
||
sbt sonatypeBundleRelease | ||
|
||
``` | ||
|
||
### Verify | ||
``` | ||
Login to central.sonatype.com | ||
Check https://central.sonatype.com/publishing/deployments | ||
Wait for 24 hrs for publishing to complete | ||
``` |
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 +1 @@ | ||
ThisBuild / version := "0.1.12-SNAPSHOT" | ||
ThisBuild / version := "0.1.18-SNAPSHOT" |