diff --git a/.github/workflows/linux-aarch64-nightly.yml b/.github/workflows/linux-aarch64-nightly.yml index 50443d3..2f9ece4 100644 --- a/.github/workflows/linux-aarch64-nightly.yml +++ b/.github/workflows/linux-aarch64-nightly.yml @@ -138,12 +138,16 @@ jobs: name: linux-deb-aarch64 path: src-tauri/target/aarch64-unknown-linux-gnu/release/bundle/deb/*.deb + - name: Get version from package.json + id: version + run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT + - name: Create Release - if: github.event_name == 'workflow_dispatch' # Only create release for scheduled builds + if: github.event_name == 'workflow_dispatch' uses: softprops/action-gh-release@v1 with: - name: Linux ARM64 Nightly Build - tag_name: linux-arm64-nightly-latest + name: "Linux ARM64 Nightly Build v${{ steps.version.outputs.version }}" + tag_name: "linux-arm64-nightly-${{ steps.version.outputs.version }}" files: | src-tauri/target/aarch64-unknown-linux-gnu/release/bundle/appimage/*.AppImage src-tauri/target/aarch64-unknown-linux-gnu/release/bundle/deb/*.deb diff --git a/.github/workflows/linux-x86_64-nightly.yml b/.github/workflows/linux-x86_64-nightly.yml index a4430ee..bf75a96 100644 --- a/.github/workflows/linux-x86_64-nightly.yml +++ b/.github/workflows/linux-x86_64-nightly.yml @@ -66,12 +66,16 @@ jobs: name: linux-deb path: src-tauri/target/x86_64-unknown-linux-gnu/release/bundle/deb/*.deb + - name: Get version from package.json + id: version + run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT + - name: Create Release - if: github.event_name == 'workflow_dispatch' # Only create release for scheduled builds + if: github.event_name == 'workflow_dispatch' uses: softprops/action-gh-release@v1 with: - name: Linux x86_64 Nightly Build - tag_name: linux-x86_64-nightly-latest + name: "Linux x86_64 Nightly Build v${{ steps.version.outputs.version }}" + tag_name: "linux-x86_64-nightly-${{ steps.version.outputs.version }}" files: | src-tauri/target/x86_64-unknown-linux-gnu/release/bundle/appimage/*.AppImage src-tauri/target/x86_64-unknown-linux-gnu/release/bundle/deb/*.deb diff --git a/.github/workflows/macos-nightly.yml b/.github/workflows/macos-nightly.yml index ac6e7a7..b1ee802 100644 --- a/.github/workflows/macos-nightly.yml +++ b/.github/workflows/macos-nightly.yml @@ -74,12 +74,16 @@ jobs: name: macos-apple-silicon-build path: src-tauri/target/aarch64-apple-darwin/release/bundle/dmg/*.dmg + - name: Get version from package.json + id: version + run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT + - name: Create Release - if: github.event_name == 'workflow_dispatch' # Only create release for scheduled builds + if: github.event_name == 'workflow_dispatch' uses: softprops/action-gh-release@v1 with: - name: MacOS Nightly Build - tag_name: macos-nightly-latest + name: "MacOS Nightly Build v${{ steps.version.outputs.version }}" + tag_name: "macos-nightly-${{ steps.version.outputs.version }}" files: | src-tauri/target/x86_64-apple-darwin/release/bundle/dmg/*.dmg src-tauri/target/aarch64-apple-darwin/release/bundle/dmg/*.dmg diff --git a/.github/workflows/windows-nightly.yml b/.github/workflows/windows-nightly.yml index 36a90e0..97787cb 100644 --- a/.github/workflows/windows-nightly.yml +++ b/.github/workflows/windows-nightly.yml @@ -47,12 +47,16 @@ jobs: name: windows-exe path: src-tauri/target/release/*.exe + - name: Get version from package.json + id: version + run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT + - name: Create Release - if: github.event_name == 'workflow_dispatch' # Only create release for scheduled builds + if: github.event_name == 'workflow_dispatch' uses: softprops/action-gh-release@v1 with: - name: Windows Nightly Build - tag_name: windows-nightly-latest + name: "Windows Nightly Build v${{ steps.version.outputs.version }}" + tag_name: "windows-nightly-${{ steps.version.outputs.version }}" files: src-tauri/target/release/*.exe prerelease: false env: diff --git a/package.json b/package.json index 7d66d1b..8e77e60 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "macos-task-manager", - "version": "1.0.5", + "version": "1.0.6", "description": "", "type": "module", "scripts": { diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 2c9c275..fcb010b 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -1608,7 +1608,7 @@ checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4" [[package]] name = "macos-task-manager" -version = "1.0.5" +version = "1.0.6" dependencies = [ "serde", "serde_json", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 50b8914..d418e3a 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "macos-task-manager" -version = "1.0.5" +version = "1.0.6" description = "A Tauri App" authors = ["you"] edition = "2021" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index f12258f..46b9a85 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -28,7 +28,7 @@ }, "productName": "NeoHtop", "mainBinaryName": "NeoHtop", - "version": "1.0.5", + "version": "1.0.6", "identifier": "com.neohtop.dev", "plugins": {}, "app": {