version bump and version bin

This commit is contained in:
ntr 2019-09-03 12:51:00 +10:00
parent 7603497372
commit 3056d08e71
6 changed files with 20 additions and 5 deletions

View File

@ -1 +1 @@
1.0.1
1.1.0

View File

@ -1,6 +1,6 @@
{
"name": "mnml-client",
"version": "1.0.1",
"version": "1.1.0",
"description": "",
"main": "index.js",
"scripts": {

15
bin/version.sh Executable file
View File

@ -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"

View File

@ -1,6 +1,6 @@
{
"name": "mnml-client",
"version": "1.0.1",
"version": "1.1.0",
"description": "",
"main": "index.js",
"scripts": {

View File

@ -1,6 +1,6 @@
{
"name": "mnml-ops",
"version": "1.0.1",
"version": "1.1.0",
"description": "",
"main": "index.js",
"scripts": {

View File

@ -1,6 +1,6 @@
[package]
name = "mnml"
version = "1.0.1"
version = "1.1.0"
authors = ["ntr <ntr@smokestack.io>"]
[dependencies]