release in forward-calendar-0.0.1 vs release in forward-calendar-0.0.2
- old
+ new
@@ -1,9 +1,9 @@
#!/bin/bash
-cp forward_calendar.gemspec forward_calendar.gemspec.backup
-sed -i.bak s/0.0.0/$1/g forward_calendar.gemspec
-sed -i.bak s/2001-01-01/`date +%Y-%m-%d`/g forward_calendar.gemspec
-gem build forward_calendar.gemspec
-mv forward_calendar.gemspec.backup forward_calendar.gemspec
-gem push forward_calendar-$1.gem
+cp forward-calendar.gemspec forward-calendar.gemspec.backup
+sed -i.bak s/0.0.0/$1/g forward-calendar.gemspec
+sed -i.bak s/2001-01-01/`date +%Y-%m-%d`/g forward-calendar.gemspec
+gem build forward-calendar.gemspec
+mv forward-calendar.gemspec.backup forward-calendar.gemspec
+gem push forward-calendar-$1.gem
git tag -a v$1 -m "Release v$1"
git push origin --tags