From 79575fb5ae0e6654672a16636449bd7c202be617 Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Sat, 27 Aug 2022 22:12:12 +0200 Subject: Test release --- .github/workflows/push-test.yml | 19 ------------------- .github/workflows/release.yml | 23 +++++++++++++++++++++++ src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- 5 files changed, 26 insertions(+), 22 deletions(-) diff --git a/.github/workflows/push-test.yml b/.github/workflows/push-test.yml index 49812e8c..04df933b 100644 --- a/.github/workflows/push-test.yml +++ b/.github/workflows/push-test.yml @@ -56,22 +56,3 @@ jobs: src-tauri/target/release/bundle/appimage/* src-tauri/target/release/bundle/deb/* src-tauri/target/release/bundle/msi/* - - create-release-file: - needs: test-tauri - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v2 - - uses: actions/download-artifact@v3 - - name: Create release file - run: | - ls -al - tree - python3 scripts/create-release-file.py --version v0.1.0 - ls -al - - - name: upload build artifact - uses: actions/upload-artifact@v2 - with: - path: | - latest-release.json diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1950fb68..7b06cb37 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,6 +50,13 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} + - name: upload build artifact + uses: actions/upload-artifact@v2 + with: + path: | + src-tauri/target/release/bundle/appimage/* + src-tauri/target/release/bundle/deb/* + src-tauri/target/release/bundle/msi/* - name: Release uses: softprops/action-gh-release@v1 with: @@ -57,3 +64,19 @@ jobs: src-tauri/target/release/bundle/appimage/* src-tauri/target/release/bundle/deb/* src-tauri/target/release/bundle/msi/* + + create-release-file: + needs: build + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - uses: actions/download-artifact@v3 + - name: Create release file + run: | + python3 scripts/create-release-file.py --version ${{github.event.release.tag_name}} + + - name: upload build artifact + uses: actions/upload-artifact@v2 + with: + path: | + latest-release.json diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index f68b790b..57aff2be 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -64,7 +64,7 @@ checksum = "08f9b8508dccb7687a1d6c4ce66b2b0ecef467c94667de27d8d7fe1f8d2a9cdc" [[package]] name = "app" -version = "0.1.0" +version = "0.0.3" dependencies = [ "sentry", "serde", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 8bedfb8e..0c483d27 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "app" -version = "0.1.0" +version = "0.0.3" description = "A Tauri App" authors = ["you"] license = "" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 2a117a8d..639a14e0 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -8,7 +8,7 @@ }, "package": { "productName": "flightcore", - "version": "0.1.0" + "version": "0.0.3" }, "tauri": { "allowlist": { -- cgit v1.2.3