From 4ea0d208bd913fa20c56006970e24d73deecda2d Mon Sep 17 00:00:00 2001 From: alse Date: Mon, 6 May 2019 07:52:42 -0700 Subject: [PATCH] Adding makefile to create releases --- Makefile | 9 +++++++++ package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5cbdbae --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +VER=0.3.7 + +release: + sed -i '' "s/version\": \".*/version\": \"$(VER)\",/" package.json + npm publish + docker build -t alseambusher/crontab-ui . + docker tag alseambusher/crontab-ui alseambusher/crontab-ui:$(VER) + docker push alseambusher/crontab-ui:latest + docker push alseambusher/crontab-ui:$(VER) diff --git a/package.json b/package.json index ad081c9..4ccb2b9 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "crontab-ui", - "version": "0.3.6", + "version": "0.3.7", "description": "Easy and safe way to manage your crontab file", "main": "index.js", "scripts": {