Adding makefile to create releases

v0.3.7
alse 2019-05-06 07:52:42 -07:00
parent b2c4fbeb7e
commit 4ea0d208bd
2 changed files with 10 additions and 1 deletions

9
Makefile Normal file
View File

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

View File

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