diff --git a/RELEASING.md b/RELEASING.md index fbf5242..b9fc15e 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -1,9 +1,7 @@ # Releasing Steps for releasing: -1. Update version in `build.sbt` file. - -2. Run `release.sh $VERSION$` with version of msocket +1. Run `release.sh $VERSION$` with version of msocket **Note:** `PROD=true` environment variable needs to be set before running `release.sh` -3. update msocket tag version in csw, esw +2. update msocket tag version in csw, esw diff --git a/build.sbt b/build.sbt index a784a44..8a56e56 100644 --- a/build.sbt +++ b/build.sbt @@ -7,7 +7,7 @@ inThisBuild( // jitpack provides the env variable VERSION= # A tag or commit // we make use of it so that the version in class metadata (this.getClass.getPackage.getSpecificationVersion) // and the maven repo match - version := sys.env.getOrElse("VERSION", "0.1.0-SNAPSHOT"), + version := sys.env.getOrElse("JITPACK_VERSION", "0.1.0-SNAPSHOT"), organization := "com.github.tmtsoftware.msocket", organizationName := "ThoughtWorks", scalafmtOnCompile := true, diff --git a/jitpack.yml b/jitpack.yml index ae825e6..4ce0f1b 100644 --- a/jitpack.yml +++ b/jitpack.yml @@ -1,6 +1,7 @@ jdk: - adoptopenjdk11 before_install: + - export JITPACK_VERSION=$VERSION - wget https://repo1.maven.org/maven2/org/scala-sbt/sbt-launch/1.6.1/sbt-launch-1.6.1.jar install: - java -Xms2048m -Xmx2048m -XX:ReservedCodeCacheSize=512m -jar sbt-launch-1.6.1.jar -Dsbt.log.noformat=true clean publishM2