fix(covector): asset configuration, update action (#3425)

This commit is contained in:
Lucas Fernandes Nogueira 2022-02-13 00:56:06 -03:00 committed by GitHub
parent fd557e984d
commit 6d8073efff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 5 deletions

View File

@ -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",

View File

@ -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"

View File

@ -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 }}

View File

@ -15,7 +15,7 @@
"postinstall": "husky install"
},
"devDependencies": {
"covector": "^0.5.3",
"covector": "^0.7.3",
"husky": "^6.0.0",
"prettier": "^2.5.1"
},