mr_bump 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/bin/mr_bump +4 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ZmIzZTExNjEyN2NjYTg3OTBjNTcwYmFlMGIzNDc3NmQ5YTI0MzIwYw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MTZmODQ0YjkzN2ZhYTM1NmZlZTg2OWI0ODgwM2MzMTc4MzY4YTkzYw==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZWViYzE0YTU2ODE5MGQxZGVmZTA3YTM2Y2YyNzA2ZjY1YTcwYTY5ZTNhMTk3
|
|
10
|
+
MDM4ZDQxYzc0NTg2Mjk5NWZlZWUwNjBkN2UwZDk5ZjM3MzM0YTljYTlhNmM2
|
|
11
|
+
YmYzZTNiMmQ1YzFmOTNkNTM5MDY4MDdhY2M1NjNiNzdlNWEzYTU=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
OTViODQwMWVjYzkyNDkxNjE0YjI4NDEwMTEzZjEyOGQ2NDE0NDNhODg3YjAx
|
|
14
|
+
YmNmZmZkZDEyMzExMzg3ODFjMWEwOGQ1YzgwZWZkNDI3NzMxMmM3NmZlNDIx
|
|
15
|
+
NDM0ZjI1NmYxZjk1Njc1ZDU0YjdiY2FkMjk2NWExMjFhMGY5NjA=
|
data/bin/mr_bump
CHANGED
|
@@ -56,7 +56,9 @@ loop do
|
|
|
56
56
|
system 'nano CHANGELOG.md'
|
|
57
57
|
loop do
|
|
58
58
|
log = File.open('CHANGELOG.md', 'r').read
|
|
59
|
-
|
|
59
|
+
changes = log.split("\n\n").first.strip.split("\n").drop(1)
|
|
60
|
+
changes = changes.join("\n")
|
|
61
|
+
md_changes = "# #{new_release}\n#{changes}\n\n"
|
|
60
62
|
puts 'Modified Changelog additions'
|
|
61
63
|
puts '----------'
|
|
62
64
|
puts md_changes
|
|
@@ -83,7 +85,7 @@ end
|
|
|
83
85
|
`git tag #{new_release}`
|
|
84
86
|
`git push && git push --tags`
|
|
85
87
|
|
|
86
|
-
MrBump.slack_notifier(new_release,
|
|
88
|
+
MrBump.slack_notifier(new_release, changes)
|
|
87
89
|
|
|
88
90
|
config_file = MrBump.config_file()
|
|
89
91
|
branch_type = release ? "release" : 'master'
|