diff --git a/Cargo.lock b/Cargo.lock index 2f1586ab6a..0218fe50db 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -348,7 +348,7 @@ checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" [[package]] name = "melior" -version = "0.20.0" +version = "0.20.1" dependencies = [ "indoc", "insta", @@ -359,7 +359,7 @@ dependencies = [ [[package]] name = "melior-macro" -version = "0.13.0" +version = "0.13.1" dependencies = [ "comrak", "convert_case", diff --git a/macro/Cargo.toml b/macro/Cargo.toml index 8abb8ee364..1901b2435b 100644 --- a/macro/Cargo.toml +++ b/macro/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "melior-macro" description = "Internal macros for Melior" -version = "0.13.0" +version = "0.13.1" edition = "2021" license = "Apache-2.0" repository = "https://github.com/mlir-sys/melior" diff --git a/melior/Cargo.toml b/melior/Cargo.toml index 3703ef575e..1863926980 100644 --- a/melior/Cargo.toml +++ b/melior/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "melior" description = "The rustic MLIR bindings in Rust" -version = "0.20.0" +version = "0.20.1" edition = "2021" license = "Apache-2.0" repository = "https://github.com/mlir-sys/melior" @@ -14,7 +14,7 @@ ods-dialects = [] helpers = ["ods-dialects"] [dependencies] -melior-macro = { version = "0.13.0", path = "../macro" } +melior-macro = { version = "0.13.1", path = "../macro" } mlir-sys = "0.4.1" [dev-dependencies] diff --git a/tools/version.sh b/tools/version.sh new file mode 100755 index 0000000000..3b65243160 --- /dev/null +++ b/tools/version.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +level=${1:-patch} + +if [ $# -gt 0 ]; then + shift 1 +fi + +options="$@" + +cd $(dirname $0)/.. + +cargo release version $level --execute --no-confirm --allow-branch '*' $options