Categories:
  - System
License: GPL-3.0-only
AuthorName: Aefyr
SourceCode: https://github.com/Aefyr/SAI
IssueTracker: https://github.com/Aefyr/SAI/issues
Changelog: https://github.com/Aefyr/SAI/releases

AutoName: SAI

RepoType: git
Repo: https://github.com/Aefyr/SAI

Builds:
  - versionName: '1.27'
    versionCode: 28
    commit: '1.27'
    subdir: app
    gradle:
      - fdroid
    srclibs:
      - aefyr-android-filepicker@d7d923f8f58f89c732f31059d74952d7dcefb288
    rm:
      - app/libs/filepicker-release.aar
    prebuild:
      - sed -i -e '/maven/,+2d' -e '/io.fabric/d' ../build.gradle
      - sed -i -e '/io.fabric/d' build.gradle
    build:
      - pushd $$aefyr-android-filepicker$$
      - gradle assembleRelease
      - popd
      - cp $$aefyr-android-filepicker$$/build/outputs/aar/filepicker-release.aar libs/filepicker-release.aar

  - versionName: '1.28'
    versionCode: 29
    commit: '1.28'
    subdir: app
    gradle:
      - fdroid
    srclibs:
      - aefyr-android-filepicker@d7d923f8f58f89c732f31059d74952d7dcefb288
    rm:
      - app/libs/filepicker-release.aar
    prebuild:
      - sed -i -e '/maven/,+2d' -e '/io.fabric/d' ../build.gradle
      - sed -i -e '/io.fabric/d' build.gradle
    build:
      - pushd $$aefyr-android-filepicker$$
      - gradle assembleRelease
      - popd
      - cp $$aefyr-android-filepicker$$/build/outputs/aar/filepicker-release.aar libs/filepicker-release.aar

  - versionName: '2.1'
    versionCode: 31
    commit: '2.1'
    subdir: app
    gradle:
      - fdroid
    srclibs:
      - aefyr-android-filepicker@d7d923f8f58f89c732f31059d74952d7dcefb288
    rm:
      - app/libs/filepicker-release.aar
    prebuild:
      - sed -i -e '/maven/,+2d' -e '/io.fabric/d' ../build.gradle
      - sed -i -e '/io.fabric/d' build.gradle
    build:
      - pushd $$aefyr-android-filepicker$$
      - gradle assembleRelease
      - popd
      - cp $$aefyr-android-filepicker$$/build/outputs/aar/filepicker-release.aar libs/filepicker-release.aar

  - versionName: '2.2'
    versionCode: 32
    commit: '2.2'
    subdir: app
    gradle:
      - fdroid
    srclibs:
      - aefyr-android-filepicker@d7d923f8f58f89c732f31059d74952d7dcefb288
    rm:
      - app/libs/filepicker-release.aar
    prebuild:
      - sed -i -e '/maven/,+2d' -e '/io.fabric/d' ../build.gradle
      - sed -i -e '/io.fabric/d' build.gradle
    build:
      - pushd $$aefyr-android-filepicker$$
      - gradle assembleRelease
      - popd
      - cp $$aefyr-android-filepicker$$/build/outputs/aar/filepicker-release.aar libs/filepicker-release.aar

  - versionName: '2.4'
    versionCode: 34
    commit: '2.4'
    subdir: app
    gradle:
      - fdroid
    srclibs:
      - aefyr-android-filepicker@d7d923f8f58f89c732f31059d74952d7dcefb288
    rm:
      - app/libs/filepicker-release.aar
    prebuild:
      - sed -i -e '/maven/,+2d' -e '/io.fabric/d' ../build.gradle
      - sed -i -e '/io.fabric/d' build.gradle
    build:
      - pushd $$aefyr-android-filepicker$$
      - gradle assembleRelease
      - popd
      - cp $$aefyr-android-filepicker$$/build/outputs/aar/filepicker-release.aar libs/filepicker-release.aar

  - versionName: '2.10'
    versionCode: 40
    disable: fails to build
    commit: '2.10'
    subdir: app
    gradle:
      - fdroid
    srclibs:
      - aefyr-android-filepicker@d7d923f8f58f89c732f31059d74952d7dcefb288
    rm:
      - app/libs/filepicker-release.aar
    prebuild:
      - sed -i -e '/maven/,+2d' -e '/io.fabric/d' ../build.gradle
      - sed -i -e '/io.fabric/d' build.gradle
    build:
      - pushd $$aefyr-android-filepicker$$
      - gradle assembleRelease
      - popd
      - cp $$aefyr-android-filepicker$$/build/outputs/aar/filepicker-release.aar libs/filepicker-release.aar

AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: '2.10'
CurrentVersionCode: 40
