Skip to content

Instantly share code, notes, and snippets.

View bbedward's full-sized avatar

BB bbedward

  • Cleveland, OH
View GitHub Profile
android:build:
stage: build
tags:
- appditto_mac
script:
# Flutter local configuration
- echo flutter.sdk=$FLUTTER_PATH > android/local.properties
- echo sdk.dir=$ANDROID_SDK_PATH >> android/local.properties
- echo flutter.buildMode=release >> android/local.properties
# Android signing
prod:android:deploy:
stage: deploy
tags:
- appditto_mac
script:
- cd android
- bundle exec fastlane deploy_android production:true
when: manual
dependencies:
- android:build
stages:
- test
- update
- build
- deploy
tests:
stage: test
only:
- master
@bbedward
bbedward / base.sh
Created March 17, 2023 00:01
spilo pgjwt
git clone https://github.com/michelp/pgjwt.git /pgjwt
# forbid creation of a main cluster when package is installed
sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf
for version in $DEB_PG_SUPPORTED_VERSIONS; do
sed -i "s/ main.*$/ main $version/g" /etc/apt/sources.list.d/pgdg.list
apt-get update
if [ "$DEMO" != "true" ]; then