mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-23 20:49:26 +01:00
fix: CI scripts
This commit is contained in:
parent
a791831e6d
commit
46b886ffc1
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh -ve
|
||||||
flutter channel stable
|
flutter channel stable
|
||||||
flutter upgrade
|
flutter upgrade
|
||||||
flutter pub get
|
flutter pub get
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh -ve
|
||||||
flutter channel stable
|
flutter channel stable
|
||||||
flutter upgrade
|
flutter upgrade
|
||||||
flutter build apk --debug -v
|
flutter build apk --debug -v
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh -ve
|
||||||
flutter channel stable
|
flutter channel stable
|
||||||
flutter upgrade
|
flutter upgrade
|
||||||
flutter clean
|
flutter clean
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh -ve
|
||||||
flutter channel dev
|
flutter channel dev
|
||||||
flutter upgrade
|
flutter upgrade
|
||||||
flutter config --enable-linux-desktop
|
flutter config --enable-linux-desktop
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh -ve
|
||||||
flutter channel dev
|
flutter channel dev
|
||||||
flutter upgrade
|
flutter upgrade
|
||||||
flutter config --enable-macos-desktop
|
flutter config --enable-macos-desktop
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh -ve
|
||||||
'curl -L $(curl -H "X-Ubuntu-Series: 16" "https://api.snapcraft.io/api/v1/snaps/details/flutter?channel=latest/stable" | jq ".download_url" -r) --output flutter.snap'
|
'curl -L $(curl -H "X-Ubuntu-Series: 16" "https://api.snapcraft.io/api/v1/snaps/details/flutter?channel=latest/stable" | jq ".download_url" -r) --output flutter.snap'
|
||||||
sudo mkdir -p /snap/flutter
|
sudo mkdir -p /snap/flutter
|
||||||
sudo unsquashfs -d /snap/flutter/current flutter.snap
|
sudo unsquashfs -d /snap/flutter/current flutter.snap
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh -ve
|
||||||
flutter channel beta
|
flutter channel beta
|
||||||
flutter upgrade
|
flutter upgrade
|
||||||
flutter config --enable-web
|
flutter config --enable-web
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh -ve
|
||||||
flutter format lib/ test/ test_driver/ --set-exit-if-changed
|
flutter format lib/ test/ test_driver/ --set-exit-if-changed
|
||||||
flutter analyze
|
flutter analyze
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh -ve
|
||||||
|
|
||||||
# source: https://about.gitlab.com/blog/2017/09/05/how-to-automatically-create-a-new-mr-on-gitlab-with-gitlab-ci/
|
# source: https://about.gitlab.com/blog/2017/09/05/how-to-automatically-create-a-new-mr-on-gitlab-with-gitlab-ci/
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh -ve
|
||||||
cd android
|
cd android
|
||||||
echo $FDROID_KEY | base64 --decode --ignore-garbage > key.jks
|
echo $FDROID_KEY | base64 --decode --ignore-garbage > key.jks
|
||||||
echo "storePassword=${FDROID_KEY_PASS}" >> key.properties
|
echo "storePassword=${FDROID_KEY_PASS}" >> key.properties
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh -ve
|
||||||
rm -r assets/js/package
|
rm -r assets/js/package
|
||||||
cd assets/js/ && curl -L 'https://gitlab.com/famedly/libraries/olm/-/jobs/artifacts/master/download?job=build_js' > olm.zip && cd ../../
|
cd assets/js/ && curl -L 'https://gitlab.com/famedly/libraries/olm/-/jobs/artifacts/master/download?job=build_js' > olm.zip && cd ../../
|
||||||
cd assets/js/ && unzip olm.zip && cd ../../
|
cd assets/js/ && unzip olm.zip && cd ../../
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh -ve
|
||||||
/bin/bash ./scripts/build-snap.sh
|
/bin/bash ./scripts/build-snap.sh
|
||||||
echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > snapcraft.login
|
echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > snapcraft.login
|
||||||
snapcraft login --with snapcraft.login
|
snapcraft login --with snapcraft.login
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh -ve
|
||||||
/bin/bash ./scripts/build-snap.sh
|
/bin/bash ./scripts/build-snap.sh
|
||||||
echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > snapcraft.login
|
echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > snapcraft.login
|
||||||
snapcraft login --with snapcraft.login
|
snapcraft login --with snapcraft.login
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh -ve
|
||||||
flutter channel stable
|
flutter channel stable
|
||||||
flutter upgrade
|
flutter upgrade
|
||||||
flutter pub get
|
flutter pub get
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh -ve
|
||||||
cd android
|
cd android
|
||||||
bundle install
|
bundle install
|
||||||
bundle update fastlane
|
bundle update fastlane
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh -ve
|
||||||
flutter pub global activate changelog
|
flutter pub global activate changelog
|
||||||
export PATH="$PATH":"$HOME/development/flutter/.pub-cache/bin"
|
export PATH="$PATH":"$HOME/development/flutter/.pub-cache/bin"
|
||||||
changelog -c
|
changelog -c
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh -ve
|
||||||
flutter pub get
|
flutter pub get
|
||||||
flutter pub pub run dapackages:dapackages.dart ./pubspec.yaml
|
flutter pub pub run dapackages:dapackages.dart ./pubspec.yaml
|
||||||
flutter pub get
|
flutter pub get
|
Loading…
Reference in New Issue
Block a user