From a8e21a457726143d65d6b806608232432a019583 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Wed, 2 Nov 2022 08:39:21 +0100 Subject: [PATCH] Remove F-Droid nightly repo --- .github/workflows/fdroid-nightly.yaml | 58 --------------------------- packages/neon/README.md | 4 +- tool/update.sh | 2 - 3 files changed, 2 insertions(+), 62 deletions(-) delete mode 100644 .github/workflows/fdroid-nightly.yaml diff --git a/.github/workflows/fdroid-nightly.yaml b/.github/workflows/fdroid-nightly.yaml deleted file mode 100644 index c78f11ed..00000000 --- a/.github/workflows/fdroid-nightly.yaml +++ /dev/null @@ -1,58 +0,0 @@ -name: Publish F-Droid nightly build - -on: - push: - branches: - - main - -jobs: - nightly: - name: Publish F-Droid nightly build - runs-on: ubuntu-22.04 - environment: nightly - steps: - - name: Checkout - uses: actions/checkout@v2 - - - uses: subosito/flutter-action@v2 - with: - flutter-version: '3.3.6' - channel: 'stable' - cache: true - - name: Set up JDK 11 - uses: actions/setup-java@v2 - with: - distribution: 'adopt' - java-version: 11 - - - name: Pub dependency cache - uses: actions/cache@v3 - with: - path: $PUB_CACHE - key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.lock') }} - restore-keys: | - ${{ runner.os }}-pub- - - name: Gradle dependency cache - uses: actions/cache@v3 - with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} - restore-keys: | - ${{ runner.os }}-gradle- - - - name: Build - run: | - cd packages/neon - flutter build apk --build-number="$(date +"%s")" - cp build/app/outputs/apk/release/app-release.apk app-debug.apk - - - name: Upload - uses: wardvl/f-droid-nightly-action@v2.1 - with: - debug_keystore: ${{ secrets.DEBUG_KEYSTORE }} - fdroid_nightly_args: -v --archive-older 10 --file app-debug.apk - - - name: F-Droid repo permission clean-up # https://github.com/actions/cache/issues/753 - run: sudo chown -R runner:docker fdroid diff --git a/packages/neon/README.md b/packages/neon/README.md index bf03a67d..67a3638d 100644 --- a/packages/neon/README.md +++ b/packages/neon/README.md @@ -3,8 +3,8 @@ A beautiful convergent cross-platform client for Nextcloud written in Flutter. ## Install -You can easily build it yourself or use the F-Droid Nightly repository at https://github.com/jld3103/nextcloud-neon-nightly which builds directly from the main branch. -The app will be published on F-Droid and the Google Playstore later. +You can build it yourself from source now, automatic build pipelines are being set up right now. +The app will be published on F-Droid and the Google Playstore later. See https://github.com/provokateurin/nextcloud-neon/issues/106 for the to-do list. ## Screenshots diff --git a/tool/update.sh b/tool/update.sh index bd4baad5..77214dc5 100755 --- a/tool/update.sh +++ b/tool/update.sh @@ -10,8 +10,6 @@ if [[ "$1" == "flutter" ]]; then dart_version_major="$(echo "$dart_version" | cut -d "." -f 1)" dart_version_minor="$(echo "$dart_version" | cut -d "." -f 2)" dart_version_next_major=$(( dart_version_major + 1 )) - sed -i "s/flutter-version: '.*'/flutter-version: '$flutter_version'/" .github/workflows/fdroid-nightly.yaml - sed -i "s/channel: '.*'/channel: '$flutter_channel'/" .github/workflows/fdroid-nightly.yaml find ./packages -name "pubspec.yaml" -exec sed -i "s/flutter: '>=.*'/flutter: '>=$flutter_version'/" {} \; find ./packages -name "pubspec.yaml" -exec sed -i "s/sdk: '>=.* <.*'/sdk: '>=$dart_version_major.$dart_version_minor.0 <$dart_version_next_major.0.0'/" {} \; fvm exec mono_repo pub get