From 6d8073efff755ba4c65db526c0ccfabcb1f512e4 Mon Sep 17 00:00:00 2001 From: Lucas Fernandes Nogueira Date: Sun, 13 Feb 2022 00:56:06 -0300 Subject: [PATCH] fix(covector): asset configuration, update action (#3425) --- .changes/config.json | 10 ++++++++-- .github/workflows/change-status-on-PR.yml | 2 +- .github/workflows/covector-version-or-publish.yml | 2 +- package.json | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.changes/config.json b/.changes/config.json index da9b1d8e5..f0a569e8c 100644 --- a/.changes/config.json +++ b/.changes/config.json @@ -72,7 +72,7 @@ ], "assets": [ { - "path": "${ pkg.path }/target/package/${ pkgFile.pkg.name }-${ pkgFile.version }.crate", + "path": "${ pkg.path }/target/package/${ pkg.pkg }-${ pkgFile.version }.crate", "name": "${ pkg.pkg }-${ pkgFile.version }.crate" } ] @@ -287,7 +287,13 @@ "tauri-bundler", "tauri-utils" ], - "postversion": "cargo check" + "postversion": "cargo check ${ pkg.crate || pkg.pkg }", + "assets": [ + { + "path": "${ pkg.path }/target/package/tauri-cli-${ pkgFile.version }.crate", + "name": "${ pkg.pkg }-${ pkgFile.version }.crate" + } + ] }, "create-tauri-app": { "path": "./tooling/create-tauri-app", diff --git a/.github/workflows/change-status-on-PR.yml b/.github/workflows/change-status-on-PR.yml index e5732f88c..bc0080203 100644 --- a/.github/workflows/change-status-on-PR.yml +++ b/.github/workflows/change-status-on-PR.yml @@ -14,7 +14,7 @@ jobs: with: fetch-depth: 0 - name: covector status - uses: jbolda/covector/packages/action@feat/enable-prereleases + uses: jbolda/covector/packages/action@covector-v0 id: covector with: command: "status" diff --git a/.github/workflows/covector-version-or-publish.yml b/.github/workflows/covector-version-or-publish.yml index d742b6034..9a0813981 100644 --- a/.github/workflows/covector-version-or-publish.yml +++ b/.github/workflows/covector-version-or-publish.yml @@ -53,7 +53,7 @@ jobs: git config --global user.name "${{ github.event.pusher.name }}" git config --global user.email "${{ github.event.pusher.email }}" - name: covector version or publish (publish when no change files present) - uses: jbolda/covector/packages/action@feat/enable-prereleases + uses: jbolda/covector/packages/action@covector-v0 id: covector env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index d38234c31..d77806887 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "postinstall": "husky install" }, "devDependencies": { - "covector": "^0.5.3", + "covector": "^0.7.3", "husky": "^6.0.0", "prettier": "^2.5.1" },