fix(covector): keep tauri-driver version as alpha

This commit is contained in:
Lucas Nogueira 2021-06-23 14:18:26 -03:00
parent be76fb1dfe
commit c22e5a7c2e
No known key found for this signature in database
GPG Key ID: 2714B66BCFB01F7F
3 changed files with 8 additions and 3 deletions

View File

@ -293,7 +293,8 @@
},
"tauri-driver": {
"path": "./tooling/webdriver",
"manager": "rust"
"manager": "rust",
"postversion": "node ../../.scripts/sync-prerelease.js ${ pkg.pkg } ${ release.type }"
}
}
}

View File

@ -1,5 +1,5 @@
---
"tauri-driver": patch
"tauri-driver": minor
---
Initial release including Linux and Windows support.

View File

@ -5,7 +5,7 @@
/*
This script is solely intended to be run as part of the `covector version` step to
keep the `tauri-release` crate version without the `beta` or `beta-rc` suffix.
keep the `tauri-runtime`, `tauri-runtime-wry` and `tauri-driver` crates version without the `beta` or `beta-rc` suffix.
*/
const { readFileSync, writeFileSync } = require("fs")
@ -25,6 +25,10 @@ if (packageNickname === 'tauri-runtime') {
manifestPath = '../../core/tauri-runtime-wry/Cargo.toml'
dependencyManifestPaths = ['../../core/tauri/Cargo.toml']
changelogPath = '../../core/tauri-runtime-wry/CHANGELOG.md'
} else if (packageNickname === 'tauri-driver') {
manifestPath = '../../tooling/webdriver/Cargo.toml'
dependencyManifestPaths = []
changelogPath = '../../tooling/webdriver/CHANGELOG.md'
} else {
throw new Error(`Unexpected package ${packageNickname}`)
}