A Slack Bot that pulls Pixiv information and posts the full image(s) into Slack, with iOS shortcuts.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.7 KiB

9 years ago
  1. # Releasing Slack-Ruby-Bot
  2. There're no particular rules about when to release slack-ruby-bot. Release bug fixes frequenty, features not so frequently and breaking API changes rarely.
  3. ### Release
  4. Run tests, check that all tests succeed locally.
  5. ```
  6. bundle install
  7. rake
  8. ```
  9. Check that the last build succeeded in [Travis CI](https://travis-ci.org/dblock/slack-ruby-bot) for all supported platforms.
  10. Increment the version, modify [lib/slack-ruby-bot/version.rb](lib/slack-ruby-bot/version.rb).
  11. * Increment the third number if the release has bug fixes and/or very minor features, only (eg. change `0.2.1` to `0.2.2`).
  12. * Increment the second number if the release contains major features or breaking API changes (eg. change `0.2.1` to `0.3.0`).
  13. Change "Next Release" in [CHANGELOG.md](CHANGELOG.md) to the new version.
  14. ```
  15. ### 0.2.2 (7/10/2015)
  16. ```
  17. Remove the line with "Your contribution here.", since there will be no more contributions to this release.
  18. Commit your changes.
  19. ```
  20. git add CHANGELOG.md lib/slack-ruby-bot/version.rb
  21. git commit -m "Preparing for release, 0.2.2."
  22. git push origin master
  23. ```
  24. Release.
  25. ```
  26. $ rake release
  27. slack-ruby-bot 0.2.2 built to pkg/slack-ruby-bot-0.2.2.gem.
  28. Tagged v0.2.2.
  29. Pushed git commits and tags.
  30. Pushed slack-ruby-bot 0.2.2 to rubygems.org.
  31. ```
  32. ### Prepare for the Next Version
  33. Add the next release to [CHANGELOG.md](CHANGELOG.md).
  34. ```
  35. Next Release
  36. ============
  37. * Your contribution here.
  38. ```
  39. Increment the third version number in [lib/slack-ruby-bot/version.rb](lib/slack-ruby-bot/version.rb).
  40. Comit your changes.
  41. ```
  42. git add CHANGELOG.md lib/slack-ruby-bot/version.rb
  43. git commit -m "Preparing for next development iteration, 0.2.3."
  44. git push origin master
  45. ```