structured_changelog 0.8.1 → 0.8.2
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/structured_changelog/tasks/commit.rb +2 -9
- data/lib/structured_changelog/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8eefb22f02379b1f42842cd98cf1704c25cc0aa8
|
4
|
+
data.tar.gz: 9e064f42176c4216a3188a84646c16a6a7e60633
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f0ffee80071e30dc4a32679750906d64998efd0ea62b59e77b58886b819346c69b893d258bd8922168db397e3bf0f07e5bebd9e7d164832fc78f2d3d90b8482
|
7
|
+
data.tar.gz: a1fd3bc320574ba7e03e9425a27bca937d990f4dc0fadb2a88911c7867f5f0f6738126c4f41b4dac191fee2a71ac2dd19872fb658f732ecd43d4b2e920b5118f
|
data/CHANGELOG.md
CHANGED
@@ -11,6 +11,10 @@
|
|
11
11
|
* require release block lines to be ordered in descending severity
|
12
12
|
* disable strict semver version validation before 1.0.0
|
13
13
|
|
14
|
+
## RELEASE 0.8.2
|
15
|
+
|
16
|
+
* FIX: `rake changelog:commit` now doesn't care if more things change in your Gemfile.lock during release
|
17
|
+
|
14
18
|
## RELEASE 0.8.1
|
15
19
|
|
16
20
|
* FIX: `rake changelog:commit` wasn't allowing Gemfile.lock to change version.
|
@@ -27,17 +27,10 @@ task 'changelog:commit', [:repo_path, :changelog_path, :version_path] do |_task,
|
|
27
27
|
abort "Please commit all files that aren't #{acceptable_changes.join(' or ')} before bumping the version."
|
28
28
|
end
|
29
29
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
unless lockfile_only_changed_version
|
34
|
-
abort "Please commit all Gemfile.lock changes not related to this version bump."
|
35
|
-
end
|
36
|
-
|
37
|
-
git.add(['Gemfile.lock'])
|
30
|
+
acceptable_changes.each do |path|
|
31
|
+
git.add([path]) if diff.key?(path)
|
38
32
|
end
|
39
33
|
|
40
|
-
git.add([changelog_path, version_path])
|
41
34
|
git.commit("Version bump to #{changelog.version}")
|
42
35
|
|
43
36
|
puts "Commited 'Version bumped to #{changelog.version}'"
|