danger-samsao 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 608978c81f0415647bdf2a56bd87899397eccfca
4
- data.tar.gz: 82332e9016b7efe03cee778b5fd43150cc494037
3
+ metadata.gz: ce381ca0181a3c9df3c2c536e6d707bce6defcbe
4
+ data.tar.gz: 14d687d8d21fb34fd864526eb1fd82832b0835cd
5
5
  SHA512:
6
- metadata.gz: c80089389404b1c748ba22e14621e77af2ac1f6de1c56b0202b75b35700b58d59def8ee0c4afb6a9ce88bb88bfb9c759388290c78f0b106a423363a9d96ae3ab
7
- data.tar.gz: b84adde8c6cb832fcdc00b769ba088a002a37c0237e78bab75ea7bc0a26ef14fa4ab17af8f12b38d195622c6cd4ce91f344d88a9436f6e881b65136059ff9f77
6
+ metadata.gz: c73357ebc4b5683b292f389f08e810fb5467997bddbcc6c5b6bc27250c8b659b822de6a7d36106e5392b292d29fe8d8f516f20877028ee523407054e291a6695
7
+ data.tar.gz: 00bec8ce51b8b01b75a3d2b9ee6fe5fab5a550b1763714eea63a2386837be29a85182b558b3ec01bbc9e20d581be1b096b08507638114e0095ea2cc24750c68b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.1.1 (May 4, 2017)
2
+
3
+ * Open source to MIT.
4
+
1
5
  ## 0.1.0 (May 1, 2017)
2
6
 
3
7
  * Added `fail_when_merge_commit_detected` action.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- danger-samsao (0.1.0)
4
+ danger-samsao (0.1.1)
5
5
  danger-plugin-api (~> 1.0)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -228,3 +228,63 @@ and enter the token to the side of `DANGER_GITHUB_API_TOKEN` line.
228
228
 
229
229
  The release process is quite simple. It consists of doing a release commit,
230
230
  run a rake task and finally doing a bump to next version commit and push it.
231
+ Assume for the rest of this section that we are releasing version `0.1.0`
232
+ and today's date is `May 1st, 2017`. Terminal commands are given, but feel
233
+ free to use `SourceTree` or anything else.
234
+
235
+ Start by checking out the commit that was flagged as the release commit (could be
236
+ the `develop` branch) and name the branch `release/0.1.0`:
237
+
238
+ ```
239
+ git checkout -b release/0.1.0 aeb156fb4a
240
+ ```
241
+
242
+ Once on the branch, modify `CHANGELOG.md` so that `In progress` is replaced by
243
+ the current version and released date `## 0.1.0 (May 1, 2017)`. Then modify
244
+ `lib/samsao/gem_version.rb` to ensure the version is set to current value
245
+ `VERSION = '0.1.0'.freeze`. Lastly, run `bundle install` just to ensure
246
+ `Gemfile.lock` has correct new version also.
247
+
248
+ With all these changes, make a release commit and use the following normalized
249
+ text as the commit message:
250
+
251
+ ```
252
+ Released version 0.1.0
253
+ ```
254
+
255
+ Once the commit is done, simply run `bundle exec rake release`. This will
256
+ ask you for the Samsao's RubyGems credentials (only if it's your first
257
+ release, ask a system administrator to get them). It will create a tag
258
+ on the current commit of the current branch (should be the release commit
259
+ made earlier) named `v0.1.0`. And it will finally push the tag to the
260
+ repository as well as building and publishing the gem on RubyGems.
261
+
262
+ Last thing to do is bumping to next development version. Edit back
263
+ `CHANGELOG.md` so that `## In progress` is the new section header and
264
+ add a bunch of empty lines (around 10, only 2 shown in the example for
265
+ brevity) starting with a **space** followed by a **star**:
266
+
267
+ ```
268
+ ## In progress
269
+
270
+ *
271
+
272
+ *
273
+
274
+ ## 0.1.0 (May 1, 2017)
275
+ ```
276
+
277
+ Also edit `lib/samsao/gem_version.rb` so that next development version
278
+ value is used `VERSION = '0.1.1.pre1'.freeze`. The `.pre1` is the lowest
279
+ possible version before the official `0.1.1` one (or higher).
280
+
281
+ Commit all this changes together in a new commit that has the following
282
+ message:
283
+
284
+ ```
285
+ Bumped to next development version
286
+ ```
287
+
288
+ Finally, create a PR with this branch and open a pull request and merge
289
+ right away (your team mates should known in advance that a release is
290
+ happening and branch merged faster than other ones).
@@ -1,3 +1,3 @@
1
1
  module Samsao
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-samsao
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samsao Development Inc.