File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 2121 SBT_VERSION_TAG : sbt-0.13.15_mongo-3.2.17_node-8.x_jdk-8
2222 USER_UID : 1001
2323 USER_GID : 1001
24+ TARGET_DIR : &target_dir target/scala-2.12
2425 steps :
2526 - checkout
2627 - attach_workspace :
@@ -34,10 +35,14 @@ jobs:
3435 - run :
3536 name : Build server
3637 command : docker-compose run sbt sbt assembly
38+ - run :
39+ name : Get FossilDB version
40+ command : docker-compose run sbt java -jar $TARGET_DIR/fossildb.jar --version > $TARGET_DIR/version
3741 - persist_to_workspace :
38- root : target/scala-2.12
42+ root : *target_dir
3943 paths :
4044 - fossildb.jar
45+ - version
4146 - save_cache :
4247 key : cache-{{ .Branch }}
4348 paths :
@@ -139,7 +144,7 @@ jobs:
139144 -r fossildb
140145 -c $(git rev-parse HEAD)
141146 -b "executable jar of __fossildb__"
142- $(git semver next )
147+ $(cat /tmp/workspace/version )
143148 /tmp/workspace/fossildb.jar
144149
145150workflows :
You can’t perform that action at this time.
0 commit comments