Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix: path for release

Prateek Sunal39765dd802e7
diff --git a/.github/workflows/auth-release.yml b/.github/workflows/auth-release.yml
index b01b0e1e42..bc72e11276 100644
--- a/.github/workflows/auth-release.yml
+++ b/.github/workflows/auth-release.yml
@@ -105,7 +105,7 @@ jobs:
- name: Generate checksums and push to artifacts
run: |
- sha256sum artifacts/ente-* > artifacts/sha256sum-apk-deb
+ sha256sum artifacts/ente-* > artifacts/sha256sum-apk-deb
- name: Create a draft GitHub release
uses: ncipollo/release-action@v1
@@ -126,65 +126,65 @@ jobs:
track: internal
build-fedora-etc:
- runs-on: ubuntu-latest
-
- defaults:
- run:
- working-directory: auth
-
- steps:
- - name: Checkout code and submodules
- uses: actions/checkout@v4
- with:
- submodules: recursive
-
- - name: Install Flutter ${{ env.FLUTTER_VERSION }}
- uses: subosito/flutter-action@v2
- with:
- channel: "stable"
- flutter-version: ${{ env.FLUTTER_VERSION }}
- cache: true
-
- - name: Create artifacts directory
- run: mkdir artifacts
-
- - name: Install dependencies for desktop build
- run: |
- sudo apt-get update -y
- sudo apt-get install -y libsecret-1-dev libsodium-dev libwebkit2gtk-4.0-dev libfuse2 ninja-build libgtk-3-dev dpkg-dev pkg-config rpm patchelf libsqlite3-dev locate libayatana-appindicator3-dev libffi-dev libtiff5 xz-utils libarchive-tools
- sudo updatedb --localpaths='/usr/lib/x86_64-linux-gnu'
-
- - name: Install appimagetool
- run: |
- wget -O appimagetool "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
- chmod +x appimagetool
- mv appimagetool /usr/local/bin/
-
- - name: Build desktop app
- run: |
- flutter config --enable-linux-desktop
- # dart pub global activate flutter_distributor
- dart pub global activate --source git https://github.com/prateekmedia/flutter_distributor --git-ref develop --git-path packages/flutter_distributor
- # Run below command if it is a beta or nightly
- if [[ ${{ github.ref }} =~ beta|nightly ]]; then
- flutter_distributor package --platform=linux --targets=pacman --skip-clean
- mv dist/**/*-*-linux.pacman artifacts/ente-${{ github.ref_name }}-x86_64.pacman
- fi
- flutter_distributor package --platform=linux --targets=rpm --skip-clean
- mv dist/**/*-*-linux.rpm artifacts/ente-${{ github.ref_name }}-x86_64.rpm
- flutter_distributor package --platform=linux --targets=appimage --skip-clean
- mv dist/**/*-*-linux.AppImage artifacts/ente-${{ github.ref_name }}-x86_64.AppImage
-
- - name: Generate checksums
- run: sha256sum artifacts/ente-* >> artifacts/sha256sum-rpm-appimage
-
- - name: Create a draft GitHub release
- uses: ncipollo/release-action@v1
- with:
- artifacts: "auth/artifacts/*"
- draft: true
- allowUpdates: true
- updateOnlyUnreleased: true
+ runs-on: ubuntu-latest
+
+ defaults:
+ run:
+ working-directory: auth
+
+ steps:
+ - name: Checkout code and submodules
+ uses: actions/checkout@v4
+ with:
+ submodules: recursive
+
+ - name: Install Flutter ${{ env.FLUTTER_VERSION }}
+ uses: subosito/flutter-action@v2
+ with:
+ channel: "stable"
+ flutter-version: ${{ env.FLUTTER_VERSION }}
+ cache: true
+
+ - name: Create artifacts directory
+ run: mkdir artifacts
+
+ - name: Install dependencies for desktop build
+ run: |
+ sudo apt-get update -y
+ sudo apt-get install -y libsecret-1-dev libsodium-dev libwebkit2gtk-4.0-dev libfuse2 ninja-build libgtk-3-dev dpkg-dev pkg-config rpm patchelf libsqlite3-dev locate libayatana-appindicator3-dev libffi-dev libtiff5 xz-utils libarchive-tools
+ sudo updatedb --localpaths='/usr/lib/x86_64-linux-gnu'
+
+ - name: Install appimagetool
+ run: |
+ wget -O appimagetool "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
+ chmod +x appimagetool
+ mv appimagetool /usr/local/bin/
+
+ - name: Build desktop app
+ run: |
+ flutter config --enable-linux-desktop
+ # dart pub global activate flutter_distributor
+ dart pub global activate --source git https://github.com/prateekmedia/flutter_distributor --git-ref develop --git-path packages/flutter_distributor
+ # Run below command if it is a beta or nightly
+ if [[ ${{ github.ref }} =~ beta|nightly ]]; then
+ flutter_distributor package --platform=linux --targets=pacman --skip-clean
+ mv dist/**/*-*-linux.pacman artifacts/ente-${{ github.ref_name }}-x86_64.pacman
+ fi
+ flutter_distributor package --platform=linux --targets=rpm --skip-clean
+ mv dist/**/*-*-linux.rpm artifacts/ente-${{ github.ref_name }}-x86_64.rpm
+ flutter_distributor package --platform=linux --targets=appimage --skip-clean
+ mv dist/**/*-*-linux.AppImage artifacts/ente-${{ github.ref_name }}-x86_64.AppImage
+
+ - name: Generate checksums
+ run: sha256sum artifacts/ente-* >> artifacts/sha256sum-rpm-appimage
+
+ - name: Create a draft GitHub release
+ uses: ncipollo/release-action@v1
+ with:
+ artifacts: "auth/artifacts/*"
+ draft: true
+ allowUpdates: true
+ updateOnlyUnreleased: true
build-windows:
runs-on: windows-latest
@@ -216,7 +216,7 @@ jobs:
dart pub global activate --source git https://github.com/prateekmedia/flutter_distributor --git-ref develop --git-path packages/flutter_distributor
make innoinstall
flutter_distributor package --platform=windows --targets=exe --skip-clean
- mv dist/**/ente_auth-*-windows-setup.exe artifacts/ente-${{ github.ref_name }}-installer.exe
+ mv dist/**/enteauth-*-windows-setup.exe artifacts/ente-${{ github.ref_name }}-installer.exe
- name: Retain Windows EXE and DLLs
run: cp -r build/windows/x64/runner/Release ente-${{ github.ref_name }}-windows
@@ -309,7 +309,7 @@ jobs:
flutter config --enable-macos-desktop
dart pub global activate flutter_distributor
flutter_distributor package --platform=macos --targets=dmg --skip-clean
- mv dist/**/ente_auth-*-macos.dmg artifacts/ente-${{ github.ref_name }}.dmg
+ mv dist/**/enteauth-*-macos.dmg artifacts/ente-${{ github.ref_name }}.dmg
- name: Code sign DMG
run: |