summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml2
-rwxr-xr-xrelease.sh1
3 files changed, 3 insertions, 2 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 1431e72..fadc736 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -392,7 +392,7 @@ dependencies = [
[[package]]
name = "cas"
-version = "0.0.1-a"
+version = "0.0.2"
dependencies = [
"async-graphql",
"async-graphql-axum",
diff --git a/Cargo.toml b/Cargo.toml
index cd3885c..ff41da0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "cas"
-version = "0.0.1-a"
+version = "0.0.2"
edition = "2021"
authors = ["Santo Cariotti <santo@dcariotti.me>", "Luca Polese <luca.polese@studio.unibo.it>"]
documentation = "https://cas-4.github.io/backend/cas/index.html"
diff --git a/release.sh b/release.sh
index 25e374f..9c513f4 100755
--- a/release.sh
+++ b/release.sh
@@ -4,6 +4,7 @@ if [ $# -eq 0 ]; then
fi
sed -i "3s/.*/version = \"$1\"/" Cargo.toml
+cargo c
git add Cargo.*
git commit -m "release: version $1"
git tag -a "v$1" -m "Version $1"