We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e18fe2a commit 99c42bdCopy full SHA for 99c42bd
bin/release
@@ -0,0 +1,14 @@
1
+#!/usr/bin/env bash
2
+
3
+VERSION=$1
4
5
+printf "class Jbuilder\n VERSION = \"$VERSION\"\nend\n" > ./lib/jbuilder/version.rb
6
+bundle
7
+git add Gemfile.lock lib/jbuilder/version.rb
8
+git commit -m "Bump version for $VERSION"
9
+git push
10
+git tag v$VERSION
11
+git push --tags
12
+gem build jbuilder.gemspec
13
+gem push "jbuilder-$VERSION.gem" --host https://rubygems.org
14
+rm "jbuilder-$VERSION.gem"
0 commit comments