Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce Automatic release #223

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Move automation scripts to script directory
  • Loading branch information
wakwak3125 committed Feb 15, 2017
commit e51810c326722084c7f8bbfc198fa213dbc67548
1 change: 0 additions & 1 deletion bootstrap.sh

This file was deleted.

7 changes: 4 additions & 3 deletions gradle/task.gradle
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
task setUpRelease(type: Exec) {
workingDir '../'
commandLine "./gradlew", "clean"
commandLine "./bootstrap.sh"
commandLine "./script/bootstrap.sh"
}

/**
@@ -14,15 +14,16 @@ task setUpRelease(type: Exec) {
task downloadMetaData(type: Exec) {
workingDir '../'
commandLine "./gradlew", "clean"
commandLine "./initsupply.sh"
commandLine "./script/initsupply.sh"
}

/**
*
* Release your AWESOME app to GooglePlay(alpha channel)
* */
// TODO: Build apk with FirebaseCrash plugin
task releaseApp(type: Exec) {
workingDir '../'
commandLine "./gradlew", "clean"
commandLine "./deploy2store.sh"
commandLine "./script/deploy2store.sh"
}
1 change: 1 addition & 0 deletions script/bootstrap.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cp ./script/deploy2store.template ./script/deploy2store.sh
File renamed without changes.
6 changes: 6 additions & 0 deletions script/deploy2store.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
fastlane supply run -p io.github.droidkaigi.confsched2017 \
-a alpha \
-j ./key.json \
-u /app/build/outputs/apk/[YOUR_APK_FILE_NAME] \
--verbose --skip_upload_images --skip_upload_screenshots
2 changes: 1 addition & 1 deletion initsupply.sh → script/initsupply.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
fastlane supply init \
-j key.json \
-j ./key.json \
-p o.github.droidkaigi.confsched2017