diff --git a/VERSION b/VERSION index 7f207341..1cc5f657 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.1 \ No newline at end of file +1.1.0 \ No newline at end of file diff --git a/acp/package.json b/acp/package.json index 5cfb205d..cc7a1379 100644 --- a/acp/package.json +++ b/acp/package.json @@ -1,6 +1,6 @@ { "name": "mnml-client", - "version": "1.0.1", + "version": "1.1.0", "description": "", "main": "index.js", "scripts": { diff --git a/bin/version.sh b/bin/version.sh new file mode 100755 index 00000000..dd50de69 --- /dev/null +++ b/bin/version.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# bless you chris and andy <3 +DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) +MNML_PATH=$(realpath "$DIR/../") + +VERSION=$1 + +echo "Setting version to $VERSION" + +echo $VERSION | tr -d '\n' > VERSION +cd $MNML_PATH/server && sed -i "/^version/c\version = \"$VERSION\"" Cargo.toml +cd $MNML_PATH/ops && npm --allow-same-version --no-git-tag-version version "$VERSION" +cd $MNML_PATH/client && npm --allow-same-version --no-git-tag-version version "$VERSION" +cd $MNML_PATH/acp && npm --allow-same-version --no-git-tag-version version "$VERSION" diff --git a/client/package.json b/client/package.json index 17da24ac..a0ecb408 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,6 @@ { "name": "mnml-client", - "version": "1.0.1", + "version": "1.1.0", "description": "", "main": "index.js", "scripts": { diff --git a/ops/package.json b/ops/package.json index 6017c376..ce9cd791 100755 --- a/ops/package.json +++ b/ops/package.json @@ -1,6 +1,6 @@ { "name": "mnml-ops", - "version": "1.0.1", + "version": "1.1.0", "description": "", "main": "index.js", "scripts": { diff --git a/server/Cargo.toml b/server/Cargo.toml index ff673688..2b528b9b 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mnml" -version = "1.0.1" +version = "1.1.0" authors = ["ntr "] [dependencies]