Skip build in CI

parent e7357d7f
Pipeline #561 passed with stage
in 33 seconds
......@@ -34,32 +34,32 @@ analyze:
- flutter pub get
- dartanalyzer . --fatal-infos --fatal-warnings
build:
stage: build
image: cirrusci/flutter:beta
<<: *only_tag
tags:
- docker
script:
- cd /home/cirrus/sdks/flutter
- git remote add origin https://github.com/flutter/flutter
- 'cd -'
- flutter channel beta
- flutter upgrade
- 'echo "version: ${CI_COMMIT_REF_NAME:1}+$((123 + $CI_PIPELINE_IID))" >> pubspec.yaml'
- 'echo "SENTRY_DSN=$SENTRY_DSN" > .env'
- 'echo "BUILD_TYPE=independent" >> .env'
- echo "$STORE" | base64 -d > android/app/pattle.keystore
- flutter build apk --flavor standard
- mv build/app/outputs/apk/standard/release/app-standard-release.apk pattle.apk
after_script:
- rm android/app/pattle.keystore
- rm .env
artifacts:
name: pattle-$CI_COMMIT_REF_NAME
paths:
- pattle.apk
expire_in: 1 week
#build:
# stage: build
# image: cirrusci/flutter:beta
# <<: *only_tag
# tags:
# - docker
# script:
# - cd /home/cirrus/sdks/flutter
# - git remote add origin https://github.com/flutter/flutter
# - 'cd -'
# - flutter channel beta
# - flutter upgrade
# - 'echo "version: ${CI_COMMIT_REF_NAME:1}+$((123 + $CI_PIPELINE_IID))" >> pubspec.yaml'
# - 'echo "SENTRY_DSN=$SENTRY_DSN" > .env'
# - 'echo "BUILD_TYPE=independent" >> .env'
# - echo "$STORE" | base64 -d > android/app/pattle.keystore
# - flutter build apk --flavor standard
# - mv build/app/outputs/apk/standard/release/app-standard-release.apk pattle.apk
# after_script:
# - rm android/app/pattle.keystore
# - rm .env
# artifacts:
# name: pattle-$CI_COMMIT_REF_NAME
# paths:
# - pattle.apk
# expire_in: 1 week
release:
stage: release
......
......@@ -19,7 +19,6 @@ It's not the biggest release, but a release nonetheless.
- **Android**
- **[F-Droid](https://f-droid.org/en/packages/im.pattle.app/)**
- **[Google Play](https://play.google.com/store/apps/details?id=im.pattle.app)**
- **[APK](https://git.pattle.im/pattle/app/pipelines)**
- **[iOS (TestFlight)](https://testflight.apple.com/join/uTytydST)**
### Issues or suggestions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment