From 022a0fecea0e1bbefdf6af2b27dd06d9df3445fb Mon Sep 17 00:00:00 2001 From: AkiChase <1003019131@qq.com> Date: Wed, 1 May 2024 13:54:12 +0800 Subject: [PATCH] Scrcpy Mask v0.0.10 --- .github/workflows/publish.yml | 28 ++++++++++++++-------------- package.json | 2 +- src-tauri/Cargo.toml | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c67babb..4498249 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,10 +1,10 @@ -name: 'publish' +name: "publish" on: push: # 匹配特定标签 (refs/tags) tags: - - 'v*' # 推送事件匹配 v*, 例如 v1.0,v20.15.10 等来触发工作流 + - "v*" # 推送事件匹配 v*, 例如 v1.0,v20.15.10 等来触发工作流 # This workflow will trigger on each push to the `release` branch to create or update a GitHub release, build your app, and upload the artifacts to the release. @@ -16,19 +16,19 @@ jobs: fail-fast: false matrix: include: - - platform: 'macos-latest' # for Arm based macs (M1 and above). - args: '--target aarch64-apple-darwin' - - platform: 'macos-latest' # for Intel based macs. - args: '--target x86_64-apple-darwin' - - platform: 'ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04. - args: '' - - platform: 'windows-latest' - args: '' + - platform: "macos-latest" # for Arm based macs (M1 and above). + args: "--target aarch64-apple-darwin" + - platform: "macos-latest" # for Intel based macs. + args: "--target x86_64-apple-darwin" + - platform: "ubuntu-22.04" # for Tauri v1 you could replace this with ubuntu-20.04. + args: "" + - platform: "windows-latest" + args: "" runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v4 - + - name: setup node uses: actions/setup-node@v4 with: @@ -60,9 +60,9 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tagName: app-v__VERSION__ - releaseName: 'Scrcpy Mask v__VERSION__' - releaseBody: 'Add release notes here.' + tagName: "app-${{ github.ref_name }}" + releaseName: "Scrcpy Mask ${{ github.ref_name }}" + releaseBody: "Add release notes here." releaseDraft: true prerelease: false args: ${{ matrix.args }} diff --git a/package.json b/package.json index bbd3907..7ce0fb0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "scrcpy-mask", "private": true, - "version": "0.0.9", + "version": "0.0.10", "type": "module", "scripts": { "dev": "vite", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 55fd66c..b79585f 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "scrcpy-mask" -version = "0.0.9" +version = "0.0.10" description = "A Tauri App" authors = ["AkiChase"] edition = "2021"