We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9375d99 commit 7779069Copy full SHA for 7779069
bin/release
@@ -2,12 +2,18 @@
2
3
VERSION=$1
4
5
+if [ -z "$VERSION" ]; then
6
+ echo "Usage: $0 <version>"
7
+ exit 1
8
+fi
9
+
10
printf "module Tailwindcss\n VERSION = \"$VERSION\"\nend\n" > ./lib/tailwindcss/version.rb
11
bundle
12
git add Gemfile.lock lib/tailwindcss/version.rb
13
git commit -m "Bump version for $VERSION"
14
git push
-git tag -s v$VERSION
-bundle exec rake release
15
+git tag v$VERSION
16
git push --tags
-rm -Rf pkg
17
+gem build tailwindcss-rails.gemspec
18
+gem push "tailwindcss-rails-$VERSION.gem" --host https://rubygems.org
19
+rm "tailwindcss-rails-$VERSION.gem"
0 commit comments