Versions
This commit is contained in:
parent
3ea78e4f58
commit
dbd61a9255
@ -1,3 +1,6 @@
|
|||||||
[bumpversion]
|
[bumpversion]
|
||||||
current_version = 0.1.0
|
current_version = 0.1.0
|
||||||
|
|
||||||
|
[bumpversion:file:Cargo.toml]
|
||||||
|
search = version = "{current_version}"
|
||||||
|
replace = version = "{new_version}"
|
@ -1,6 +1,6 @@
|
|||||||
name: veilid
|
name: veilid
|
||||||
description: Veilid Network
|
description: Veilid Network
|
||||||
version: 0.0.1
|
version: 0.1.0
|
||||||
homepage: https://veilid.com
|
homepage: https://veilid.com
|
||||||
publish_to: "none" # Remove this line if you wish to publish to pub.dev
|
publish_to: "none" # Remove this line if you wish to publish to pub.dev
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "veilid"
|
name = "veilid"
|
||||||
version = "0.5.0"
|
version = "0.1.0"
|
||||||
description = ""
|
description = ""
|
||||||
authors = ["Veilid Team <contact@veilid.com>"]
|
authors = ["Veilid Team <contact@veilid.com>"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
@ -3,11 +3,19 @@ set -e
|
|||||||
|
|
||||||
if [ "$1" == "patch" ]; then
|
if [ "$1" == "patch" ]; then
|
||||||
echo Bumping patch version
|
echo Bumping patch version
|
||||||
|
PART=patch
|
||||||
elif [ "$1" == "minor" ]; then
|
elif [ "$1" == "minor" ]; then
|
||||||
echo Bumping minor version
|
echo Bumping minor version
|
||||||
|
PART=minor
|
||||||
elif [ "$1" == "major" ]; then
|
elif [ "$1" == "major" ]; then
|
||||||
echo Bumping major version
|
echo Bumping major version
|
||||||
|
PART=major
|
||||||
|
else
|
||||||
|
echo Unsupported part! Specify 'patch', 'minor', or 'major'
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cargo set-version --dry-run --bump $1
|
CARGO_TOMLS=$(find . -name Cargo.toml -not -path ./external/\* -not -path ./Cargo.toml | xargs)
|
||||||
|
|
||||||
|
bumpversion --dry-run $PART $CARGO_TOMLS ./veilid-python/pyproject.toml ./veilid-flutter/pubspec.yaml
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user