diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 4f31770..4a00063 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -27,6 +27,9 @@ jobs: node-version: 21 - name: install Rust stable uses: dtolnay/rust-toolchain@stable + with: + # Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds. + targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} - name: install dependencies (ubuntu only) if: matrix.platform == 'ubuntu-22.04' @@ -35,14 +38,15 @@ jobs: sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf - name: install app dependencies and build it - run: yarn --network-timeout 600000 && yarn tauri build + run: yarn install - uses: tauri-apps/tauri-action@v0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version + tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version releaseName: "Version __VERSION__" releaseBody: "See the assets to download this version and install." releaseDraft: true prerelease: false + args: ${{ matrix.args }} diff --git a/package.json b/package.json index 8596d81..f7090f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ner-annotator", - "version": "2.0.0", + "version": "2.0.1", "private": true, "type": "module", "scripts": { diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index ad5adc1..563afb8 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "productName": "NER Annotator", "mainBinaryName": "NER Annotator", - "version": "2.0.0", + "version": "2.0.1", "identifier": "in.arunmozhi.ner-annotator", "build": { "beforeDevCommand": "yarn dev",