tworingtools 2.0.3 → 2.1.0
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/bin/release-podspec +6 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86ce3aef521a0acfe1eff300796855bebbd7287246c0d24c100ed2f573886a25
|
4
|
+
data.tar.gz: f39a86ba830b3526467b3eadfe16870716c05a45aa6029c970c43de52c6063bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a482e2f09a123e18dd7e2884bbc12445266adc92fbed2e06c21877fec727ba53a3069c24d5b65e0d5eb0a5723c61c35666e8ef3bd3a5ffaa0ce279db86db8c47
|
7
|
+
data.tar.gz: 5050203feb8c97bd4cb5186d0fed9b608c4ee382e521584f5d95fab70234c865ae47a830a01a3316dd0d28b6070bfbf4a0d013a1584d51e80302f4b52915cd47
|
data/bin/release-podspec
CHANGED
@@ -23,6 +23,7 @@ parser = OptionParser.new do |opts|
|
|
23
23
|
opts.on('-v', '--verbose', 'Pass \'--verbose\' to \'cocoapods spec lint\'.') do |name| options[:verbose] = true end
|
24
24
|
opts.on('-rREPO', '--repo=REPO', 'By default, release-podspec pushes the podspec to CocoaPods trunk. By supplying this argument, instead of \`pod trunk push\`, \`pod repo push\` is used instead.') do |repo| options[:repo] = repo end
|
25
25
|
opts.on('-cCHANGELOG_PATH', '--changelog-path=CHANGELOG_PATH', 'By default, release-podspec looks for //CHANGELOG.md. You can specify another location with this option.') do |changelog_path| options[:changelog_path] = changelog_path end
|
26
|
+
opts.on('--e', '--changelog-entry=CHANGELOG_ENTRY', 'The name of the changelog entry, if it differs from the tag name.') do |changelog_entry_name_override| options[:changelog_entry_name_override] = true end
|
26
27
|
opts.on('-h', '--help', 'Print this help message.') do
|
27
28
|
puts opts
|
28
29
|
exit
|
@@ -39,7 +40,11 @@ name_prefix = String.new
|
|
39
40
|
if options[:podspec_name_in_tag] then
|
40
41
|
name_prefix = podspec + '-'
|
41
42
|
end
|
42
|
-
|
43
|
+
changelog_entry_name = String.new
|
44
|
+
if options[:changelog_entry_name_override] != nil then
|
45
|
+
changelog_entry_name = "--name " + options[:changelog_entry_name_override]
|
46
|
+
end
|
47
|
+
echo_and_exec "rbenv exec bundle exec changetag #{changelog_path} #{name_prefix}#{version} #{changelog_entry_name}"
|
43
48
|
echo_and_exec 'git push --tags'
|
44
49
|
|
45
50
|
spec_lint_flags = Array.new
|