chore: update release script for beta versions
@@ -100,7 +100,7 @@ ask('Publish library to crates.io?: [Y]') {
executeOnShell 'cargo publish'
}
-def nextVer = Version.valueOf(releaseVer).incrementPatchVersion()
+def nextVer = Version.valueOf(releaseVer).incrementPreReleaseVersion()
ask("Bump version to $nextVer?: [Y]") {
executeOnShell "sed -i -e 's/version = \"${releaseVer}\"/version = \"${nextVer}\"/' Cargo.toml"
executeOnShell "sed -i -e 's/documentation = \"https:\\/\\/docs\\.rs\\/pact_models\\/${releaseVer}\\/pact_models\\/\"/documentation = \"https:\\/\\/docs\\.rs\\/pact_models\\/${nextVer}\\/pact_models\\/\"/' Cargo.toml"
