File tree Expand file tree Collapse file tree
test-app/runtime/src/main/cpp Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ # smaller version of build.sh that sets the commit hash to the current git commit hash and uses the package.json version
3+
4+ echo " Ensure adb is in PATH"
5+ export PATH=" $ANDROID_HOME /platform-tools:$PATH "
6+ adb version
7+
8+ echo " Update submodule"
9+ git submodule update --init
10+
11+ echo " Cleanup old build and test artefacts"
12+ rm -rf consoleLog.txt
13+ rm -rf test-app/dist/* .xml
14+
15+ ./gradlew cleanRuntime
16+
17+ ./gradlew -PgitCommitVersion=$( git rev-parse HEAD)
18+ cp dist/nativescript-android-* .tgz dist/nativescript-android.tgz
19+
Original file line number Diff line number Diff line change 11{
22 "name" : " @nativescript/android" ,
33 "description" : " NativeScript for Android using v8" ,
4- "version" : " 8.4.0 " ,
4+ "version" : " 8.5.0-alpha.1 " ,
55 "repository" : {
66 "type" : " git" ,
77 "url" : " https://github.com/NativeScript/android.git"
Original file line number Diff line number Diff line change 1- #define NATIVE_SCRIPT_RUNTIME_VERSION "8.4.0-alpha.6 "
2- #define NATIVE_SCRIPT_RUNTIME_COMMIT_SHA "no commit sha was provided by build.gradle build "
1+ #define NATIVE_SCRIPT_RUNTIME_VERSION "0.0.0.0 "
2+ #define NATIVE_SCRIPT_RUNTIME_COMMIT_SHA "RUNTIME_COMMIT_SHA_PLACEHOLDER "
You can’t perform that action at this time.
0 commit comments