Auto Release @potatochips#48

A374f41eab3f73c50d8bab0652cb207a?s=47 TakuSemba
February 17, 2018

Auto Release @potatochips#48

A374f41eab3f73c50d8bab0652cb207a?s=128

TakuSemba

February 17, 2018
Tweet

Transcript

  1. 4.

    Release Step ɾpublish APK for alpha (Auto) ɾpublish APK for

    production (Manual) ɾmake a release note (Auto)
  2. 5.

    Release Step ɾpublish APK for alpha (Auto) ɾpublish APK for

    production (Manual) ɾmake a release note (Auto)
  3. 8.

    apply plugin: ‘com.github.triplet.play' android { playAccountConfigs { defaultAccountConfig { serviceAccountEmail

    = 'your-service-account-email' pk12File = file('key.p12') } } defaultConfig { // ... playAccountConfig = playAccountConfigs.defaultAccountConfig } } build.gradle
  4. 9.

    apply plugin: ‘com.github.triplet.play' android { playAccountConfigs { defaultAccountConfig { serviceAccountEmail

    = 'your-service-account-email' pk12File = file('key.p12') } } defaultConfig { // ... playAccountConfig = playAccountConfigs.defaultAccountConfig } } build.gradle apply plugin: ‘com.github.triplet.play'
  5. 10.

    apply plugin: ‘com.github.triplet.play' android { playAccountConfigs { defaultAccountConfig { serviceAccountEmail

    = 'your-service-account-email' pk12File = file('key.p12') } } defaultConfig { // ... playAccountConfig = playAccountConfigs.defaultAccountConfig } } build.gradle defaultAccountConfig { serviceAccountEmail = 'your-service-account-email' pk12File = file('key.p12') }
  6. 11.

    apply plugin: ‘com.github.triplet.play' android { playAccountConfigs { defaultAccountConfig { serviceAccountEmail

    = 'your-service-account-email' pk12File = file('key.p12') } } defaultConfig { // ... playAccountConfig = playAccountConfigs.defaultAccountConfig } } build.gradle defaultConfig { // ... playAccountConfig = playAccountConfigs.defaultAccountConfig }
  7. 12.

    play { track = 'alpha' userFraction = 1 untrackOld =

    false errorOnSizeLimit = false uploadImages = true } build.gradle
  8. 19.
  9. 22.

    Release Step ɾpublish APK for alpha (Auto) ɾpublish APK for

    production (Manual) ɾmake a release note (Auto)
  10. 23.

    Release Step ɾpublish APK for alpha (Auto) ɾpublish APK for

    production (Manual) ɾmake a release note (Auto)
  11. 26.

    curl -X POST \ https://api.github.com/repos/TakuSemba/RepoName/releases \ -H 'Authorization: token abcdefg’

    \ -d '{ "tag_name": "release-3.0.15", "target_commitish": "release", "name": "release-3.0.15", "body": "Description of the release", "draft": true, "prerelease": false }'
  12. 27.

    curl -X POST \ https://api.github.com/repos/TakuSemba/RepoName/releases \ -H 'Authorization: token abcdefg’

    \ -d '{ "tag_name": "release-3.0.15", "target_commitish": "release", "name": "release-3.0.15", "body": "Description of the release", "draft": true, "prerelease": false }' https://api.github.com/repos/TakuSemba/RepoName/releases \
  13. 28.

    curl -X POST \ https://api.github.com/repos/TakuSemba/RepoName/releases \ -H 'Authorization: token abcdefg’

    \ -d '{ "tag_name": "release-3.0.15", "target_commitish": "release", "name": "release-3.0.15", "body": "Description of the release", "draft": true, "prerelease": false }' -d '{ "tag_name": "release-3.0.15", "target_commitish": "release", "name": "release-3.0.15", "body": "Description of the release", "draft": true, "prerelease": false }'
  14. 29.
  15. 30.
  16. 31.

    When release tag pushed If TAG=$(git describe --exact-match --tags HEAD)

    if echo ${TAG} | grep -v release-; then echo "tag: " ${TAG} echo "failed: tag name does not contain 'release-'." exit 1 fi DIFF=$(git diff origin/release..${TAG}) if [ -n "$DIFF" ]; then echo ${DIFF} echo "failed: between origin/release and " ${TAG} " has diffs" exit 1 fi
  17. 32.