Skip to content

Commit

Permalink
Automated build testing
Browse files Browse the repository at this point in the history
  • Loading branch information
bensku committed Sep 11, 2017
1 parent d5b5d1d commit 106f4b5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ configurations.all {

processResources {
filter ReplaceTokens, tokens: [
"version" : project.property("version")
"version" :System.getenv('SKRIPT_VERSION') == null ? project.property("version") : System.getenv('SKRIPT_VERSION')
]
}

Expand Down
9 changes: 9 additions & 0 deletions buildbot-compile.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
# Compiles Skript with some special settings used to produce unstable builds

SKRIPT_VER="$(git rev-parse --short HEAD)-unstable"
export SKRIPT_VERSION=$SKRIPT_VER

./gradlew clean build

echo "$SKRIPT_VER" >buildbot-upload-version.txt

0 comments on commit 106f4b5

Please sign in to comment.