Skip to content

Commit

Permalink
#ESW-000: Himanshu | Manish : Add alias for jitpack version
Browse files Browse the repository at this point in the history
  • Loading branch information
Himanshu Mertia committed Jan 25, 2022
1 parent ddc7540 commit cee498e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
6 changes: 2 additions & 4 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ inThisBuild(
// jitpack provides the env variable VERSION=<version being built> # 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,
Expand Down
1 change: 1 addition & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit cee498e

Please sign in to comment.