rake_roll 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -2
- data/VERSION +1 -1
- data/lib/rake_roll/roller.rb +1 -1
- data/lib/rake_roll/tasks/roll.rake +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 639d9a1f69aa3c5ecd2dd8768e9a179773556675
|
4
|
+
data.tar.gz: 40a2deada2af048a397496cbe21244629f46079a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 625b2e6e9a876c6c597b6873172ddb9b1c16eac5389f90adc9077b225302fed0ccaa9863bacbc06f6a60fb9ad0a89d6e2a162c23d161d3aae85d92862df597ab
|
7
|
+
data.tar.gz: 072132b022c344d3ac62e4fc3a1c7fad9be1fee6b235c8a5fd0dde2e0facb2f906311f0c727438753af68b19ea88fffdc156c13a53f326dde819e60dd1a2b185
|
data/README.md
CHANGED
@@ -22,9 +22,10 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
rake roll # shows version and all options
|
24
24
|
rake roll:pre # Bump to 0.1.0a
|
25
|
-
rake roll:
|
25
|
+
rake roll:revision # Bump to 0.1.1
|
26
26
|
rake roll:major # Bump to 1.0.0
|
27
27
|
rake roll:minor # Bump to 0.2.0
|
28
|
+
rake roll:bump # pass VERSION=*.*.* to create manual version number
|
28
29
|
rake roll:next # run and update changelog without creating a tag
|
29
30
|
|
30
31
|
The above will do a dry run, and show the changelog updates in the
|
@@ -39,12 +40,18 @@ Or install it yourself as:
|
|
39
40
|
|
40
41
|
CHANGELOG
|
41
42
|
|
42
|
-
Only commits starting with *, 'Tech' or
|
43
|
+
Only commits starting with *, 'Tech' or matching regex /^@[0-9a-zA-Z\-_]{3,27} #[0-9]{4,6} .{5,}/ will be added to the changelog, example:
|
43
44
|
|
44
45
|
* BugFix: #1234 IE6 Positioning fix
|
45
46
|
* Feature: #1111 Adding rake_roll to the Gemfile
|
46
47
|
* HotFix: Don't Delete current users
|
47
48
|
|
49
|
+
or
|
50
|
+
|
51
|
+
@assembla-space :: #1234 :: Assembla style ticket heading
|
52
|
+
@assembla-space :: #2345 :: Put what you want here
|
53
|
+
@assembla-space :: #4567 :: Some title
|
54
|
+
|
48
55
|
FILES
|
49
56
|
|
50
57
|
rake roll will create a VERSION and CHANGELOG file on the root of
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.2
|
data/lib/rake_roll/roller.rb
CHANGED
@@ -10,7 +10,7 @@ task :roll => :environment do
|
|
10
10
|
puts "rake roll:minor #{roller.current_version} => #{version.minor}"
|
11
11
|
puts "rake roll:major #{roller.current_version} => #{version.major}"
|
12
12
|
puts "rake roll:next Writes latest commits to changelog without tagging or updating version"
|
13
|
-
puts "rake roll:bump Pass bumped version in eg:
|
13
|
+
puts "rake roll:bump Pass bumped version in eg: VERSION=#{version.bump_example}"
|
14
14
|
puts "----------------------"
|
15
15
|
puts "Above will do a dry run, Run with PUSH=true to run for real"
|
16
16
|
puts "----------------------"
|
@@ -81,11 +81,11 @@ namespace :roll do
|
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
84
|
-
desc "#{RakeRoll::Roller.new.current_version} => Pass bumped version in eg:
|
84
|
+
desc "#{RakeRoll::Roller.new.current_version} => Pass bumped version in eg: VERSION=1.2.3"
|
85
85
|
task :bump => :environment do
|
86
86
|
roller = RakeRoll::Roller.new
|
87
87
|
version = RakeRoll::Versioning.new(roller.current_version)
|
88
|
-
if new_version = ENV["
|
88
|
+
if new_version = ENV["VERSION"]
|
89
89
|
if version.current_version
|
90
90
|
roller.new_version = new_version
|
91
91
|
do_your_thing(roller, version, "bump")
|
@@ -93,7 +93,7 @@ namespace :roll do
|
|
93
93
|
puts "ERROR: Invalid Version Number #{roller.current_version}"
|
94
94
|
end
|
95
95
|
else
|
96
|
-
puts "You must supply a version number i.e.
|
96
|
+
puts "You must supply a version number i.e. VERSION=#{version.revision} rake roll:bump"
|
97
97
|
end
|
98
98
|
end
|
99
99
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake_roll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stuart Hanscombe
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-02-
|
12
|
+
date: 2018-02-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|