Files
wasmer/scripts/update-version.sh
2020-09-11 14:40:25 -07:00

23 lines
623 B
Bash
Executable File

# A script to update the version of all the crates at the same time
PREVIOUS_VERSION='1.0.0-alpha01.0'
NEXT_VERSION='1.0.0-alpha02.0'
# quick hack
fd Cargo.toml --exec sed -i '' "s/version = \"$PREVIOUS_VERSION\"/version = \"$NEXT_VERSION\"/"
echo "manually check changes to Cargo.toml"
fd wasmer.iss --exec sed -i '' "s/AppVersion=$PREVIOUS_VERSION/AppVersion=$NEXT_VERSION/"
echo "manually check changes to wasmer.iss"
# Order to upload packages in
## wasmer-types
## runtime-core
## win-exception-handler
## compiler
## compiler-cranelift
## compiler-llvm
## compiler-singlepass
## emscripten
## wasi
## wasmer (api)