Skip to content

Commit

Permalink
Adding makefile to create releases
Browse files Browse the repository at this point in the history
  • Loading branch information
alseambusher committed May 6, 2019
1 parent b2c4fbe commit 4ea0d20
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions 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)
2 changes: 1 addition & 1 deletion 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": {
Expand Down

0 comments on commit 4ea0d20

Please sign in to comment.