summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2017-03-27 15:51:31 +0300
committerYuval Adam <_@yuv.al>2017-03-27 15:51:31 +0300
commit74512cb0bdbf693e2324a7287575a49ad24ace85 (patch)
tree97422a3f94413735619d17cad36228d0ce87c077 /Makefile
parent93dfeeb175ed59c7916617c006aadf699f117673 (diff)
Add version bump command
e.g. make bump from=0.9.1 to=0.9.2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 49b499b..956c017 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,8 @@
FILENAME=free-haaretz
+bump:
+ sed -i 's/$(from)/$(to)/g' *
+
package:
zip -r $(FILENAME).zip *
cp $(FILENAME).zip $(FILENAME)-unsigned.xpi