Files
wasmer/scripts/update-version.sh
2021-01-12 08:08:19 -08:00

28 lines
712 B
Bash
Executable File

#! /bin/sh
# How to install `fd`: https://github.com/sharkdp/fd#installation
: "${FD:=fd}"
# A script to update the version of all the crates at the same time
PREVIOUS_VERSION='1.0.0'
NEXT_VERSION='1.0.1'
# quick hack
${FD} Cargo.toml --exec sed -i '{}' -e "s/version = \"$PREVIOUS_VERSION\"/version = \"$NEXT_VERSION\"/"
echo "manually check changes to Cargo.toml"
${FD} wasmer.iss --exec sed -i '{}' -e "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)