Skip to content

Commit c6de1a2

Browse files
committed
update readme
1 parent cfccacd commit c6de1a2

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class ReportMailer
77
extend Sidekiqable::AsyncableMethods
88

99
def self.deliver_daily(user_id)
10-
UserMailer.daily_report(user_id).deliver_now
10+
# ...
1111
end
1212
end
1313

bin/release

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/usr/bin/env bash
2+
3+
VERSION=$1
4+
5+
printf "module Sidekiqable\n VERSION = \"$VERSION\"\nend\n" > ./lib/sidekiqable/version.rb
6+
bundle
7+
git add Gemfile.lock lib/sidekiqable/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 sidekiqable.gemspec
13+
gem push "sidekiqable-$VERSION.gem" --host https://rubygems.org
14+
rm "sidekiqable-$VERSION.gem"

0 commit comments

Comments
 (0)