Skip to content

Commit 3e8bf6e

Browse files
committed
Add release script
1 parent 05e8630 commit 3e8bf6e

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

bin/release

100644100755
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/env bash
2+
3+
VERSION=$1
4+
5+
printf "module Tailwindcss\n VERSION = \"$VERSION\"\nend\n" > ./lib/tailwindcss/version.rb
6+
bundle
7+
git add Gemfile.lock lib/tailwindcss/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 tailwindcss-rails-webpacker.gemspec
13+
gem push "tailwindcss-rails-webpacker-$VERSION.gem"

tailwindcss-rails-webpacker.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Gem::Specification.new do |spec|
55
spec.version = Tailwindcss::VERSION
66
spec.authors = [ "Dino Maric", "David Heinemeier Hansson" ]
77
spec.email = ["[email protected]"]
8-
spec.homepage = "https://github.com/rails/tailwindcss-rails"
8+
spec.homepage = "https://github.com/WizardComputer/tailwindcss-rails-webpacker"
99
spec.summary = "Integrate Tailwind CSS with the Rails webpacker."
1010
spec.license = "MIT"
1111

0 commit comments

Comments
 (0)