Skip to content

Commit cee498e

Browse files
author
Himanshu Mertia
committed
#ESW-000: Himanshu | Manish : Add alias for jitpack version
1 parent ddc7540 commit cee498e

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

RELEASING.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
# Releasing
22

33
Steps for releasing:
4-
1. Update version in `build.sbt` file.
5-
6-
2. Run `release.sh $VERSION$` with version of msocket
4+
1. Run `release.sh $VERSION$` with version of msocket
75
**Note:** `PROD=true` environment variable needs to be set before running `release.sh`
86

9-
3. update msocket tag version in csw, esw
7+
2. update msocket tag version in csw, esw

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ inThisBuild(
77
// jitpack provides the env variable VERSION=<version being built> # A tag or commit
88
// we make use of it so that the version in class metadata (this.getClass.getPackage.getSpecificationVersion)
99
// and the maven repo match
10-
version := sys.env.getOrElse("VERSION", "0.1.0-SNAPSHOT"),
10+
version := sys.env.getOrElse("JITPACK_VERSION", "0.1.0-SNAPSHOT"),
1111
organization := "com.github.tmtsoftware.msocket",
1212
organizationName := "ThoughtWorks",
1313
scalafmtOnCompile := true,

jitpack.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
jdk:
22
- adoptopenjdk11
33
before_install:
4+
- export JITPACK_VERSION=$VERSION
45
- wget https://repo1.maven.org/maven2/org/scala-sbt/sbt-launch/1.6.1/sbt-launch-1.6.1.jar
56
install:
67
- java -Xms2048m -Xmx2048m -XX:ReservedCodeCacheSize=512m -jar sbt-launch-1.6.1.jar -Dsbt.log.noformat=true clean publishM2

0 commit comments

Comments
 (0)