Skip to content

Commit 7bdb366

Browse files
committed
Release v2.10 for Lift 3.2
1 parent 044f27e commit 7bdb366

File tree

4 files changed

+40
-2
lines changed

4 files changed

+40
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ Update log
4444

4545
For update history see the [History log](https://github.com/karma4u101/lift-jquery-module#history-log) section
4646

47-
**Latest Stable Releases:**
47+
**Latest Releases:**
48+
- **2017-09-24** -- Module v2.10 artifact released for Lift 3.2 (Scala 2.11, 2.12)
4849
- **2017-06-30** -- Module v2.10 artifact released for Lift 3.1 (Scala 2.11, 2.12)
4950
- **2016-12-14** -- Module v2.10 artifact released for Lift 3.0.1 (Scala 2.12)
5051
- **2016-06-31** -- Module v2.10 artifact released for Lift 2.6.2 (Scala 2.11,2.10,2.9.2,2.9.1-1,2.9.1), 3.0 (Scala 2.11)

project/autobuildscript/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ To publish use the publish.sh script, to change to a local publish replace 'publ
1010

1111
As of v2.9 builds against Lift 2.5 is no longer supported.
1212

13-
./project/autobuildscript/publish.sh -t [2.5,2.6,3.0,3.1]
13+
./project/autobuildscript/publish.sh -t [2.5,2.6,3.0,3.1,3.2]
1414

1515
The build script will make sure the correct JDK is set and execute one of the following
1616
sbt command files depending on chosen input (target) parameter.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
alias pub=publish-signed
2+
3+
set version in ThisBuild:="2.10"
4+
5+
set liftVersion in ThisBuild:="3.2.0-SNAPSHOT"
6+
7+
set scalaVersion in ThisBuild:="2.12.2"
8+
9+
project lift-jquery-module
10+
set parallelExecution in Test := false
11+
clean
12+
; compile ; test ; pub
13+
14+
set scalaVersion in ThisBuild:="2.11.11"
15+
16+
project lift-jquery-module
17+
set parallelExecution in Test := false
18+
clean
19+
; compile ; test ; pub
20+
21+
22+

project/autobuildscript/publish.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ PUBLISH_25_SBT_COMMAND_FILE=${PWD}/project/autobuildscript/build-publish-Lift25.
1919
PUBLISH_26_SBT_COMMAND_FILE=${PWD}/project/autobuildscript/build-publish-Lift26.txt
2020
PUBLISH_30_SBT_COMMAND_FILE=${PWD}/project/autobuildscript/build-publish-Lift30.txt
2121
PUBLISH_31_SBT_COMMAND_FILE=${PWD}/project/autobuildscript/build-publish-Lift31.txt
22+
PUBLISH_32_SBT_COMMAND_FILE=${PWD}/project/autobuildscript/build-publish-Lift32.txt
2223
#default location's for java on a ubuntu system
2324
JAVA_6_PATH=/usr/lib/jvm/java-6-oracle/jre/bin/java
2425
JAVA_7_PATH=/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
@@ -128,6 +129,18 @@ function do31Publish {
128129
debug "\n***...done processing the sbt command file***\n"
129130
}
130131

132+
#Execute the necessary steps for publishing a Lift 3.2 module build
133+
function do32Publish {
134+
debug "\nTarget is set to Lift v3.2, require java-8";
135+
if ! requiredJavaIsSuccessfullySet $JAVA_8_PATH ; then
136+
die "java-8 dosen't seem to be present, cancelling release build!"
137+
fi
138+
debug "Current java environment is java-8\n"
139+
debug "\n***Start processing the sbt command file.***\n"
140+
sbt < $PUBLISH_32_SBT_COMMAND_FILE 2>&1|tee ${LOG_FILE}
141+
debug "\n***...done processing the sbt command file***\n"
142+
}
143+
131144
function runMain {
132145
if [ $LIFT_TARGET == "2.5" ]; then {
133146
do25Publish
@@ -137,6 +150,8 @@ function runMain {
137150
do30Publish
138151
} elif [ $LIFT_TARGET == "3.1" ]; then {
139152
do31Publish
153+
} elif [ $LIFT_TARGET == "3.2" ]; then {
154+
do32Publish
140155
} else
141156
echo -e "\nNo target set! You need to specify a Lift version as target.\nUsage ./project/autobuildscript/publish.sh -t [2.5,2.6,3.x]\n";
142157
fi

0 commit comments

Comments
 (0)