-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added better notes, fixed publication to Sonatype
- Loading branch information
Showing
4 changed files
with
15 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
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,11 +1,14 @@ | ||
Publication to Sonatype | ||
|
||
#Set correct version in built.sbt, following pattern 1.2.3 | ||
#sbt publishSigned | ||
#Then go to https://oss.sonatype.org, find the repo, 'Close' it, then 'Release' | ||
#For best practice: tag repo on github with version using the same format "1.2.3" | ||
Set the correct version in built.sbt, following pattern 0.1.2 | ||
>sbt publishSigned | ||
|
||
Then go to https://oss.sonatype.org, find the repo, 'Close' it, then 'Release' | ||
As a best practice, tag the repo on github with version using the same format "0.1.2" | ||
|
||
For Docker: | ||
>docker build -t galileo:0.1.1 . | ||
You can use something else instead of 0.1.1, or something else instead of galileo: It's just the name of the target | ||
>docker build -t galileo:0.1.2 . | ||
You can use something else instead of 0.1.2, or something else instead of galileo: It's just the name of the target | ||
>docker run -it galileo | ||
|
||
|
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,2 @@ | ||
addSbtPlugin( "com.jsuereth" % "sbt-pgp" % "2.0.0" ) | ||
credentials += Credentials(Path.userHome / ".sbt" / "sonatype.sbt") |