tworingtools 2.0.1 → 2.0.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/bin/changetag +3 -10
- data/bin/release-podspec +2 -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: 85ee8eb174b10c2e9b0ee756454ebd214307b2e767c7b95589facc88971673fd
|
|
4
|
+
data.tar.gz: 9e7fc2299b12d5682aeff74774326324dbbff5399bd5c606ed412a8216124c36
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7ef9816421efcafb154184fca63d07162b0ea93b1c0668b2d95ae3705287be707cdfc89afa7ceb89e2091c8d915b2594f3569ccf15a67a114ed103fc17c56c74
|
|
7
|
+
data.tar.gz: 65839643da50f4967a7f53b80a12cb61315cf4a146c5359e4cfdfcc25031311187574da1f4875cb6fe8009f0eada272b011e6ef573bf5369c2f325085f144a84
|
data/bin/changetag
CHANGED
|
@@ -41,16 +41,9 @@ parser = OptionParser.new do |opts|
|
|
|
41
41
|
end
|
|
42
42
|
parser.parse!
|
|
43
43
|
|
|
44
|
-
#
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
if comment_char == '' or comment_char == '#' then
|
|
48
|
-
puts 'Your git comment character is still set to ‘#’. You need to change it to another character before using changetag. For instance:'
|
|
49
|
-
puts
|
|
50
|
-
puts "\tgit config core.commentchar '@'"
|
|
51
|
-
puts
|
|
52
|
-
exit ILLEGAL_COMMENT_CHAR
|
|
53
|
-
end
|
|
44
|
+
# set valid git message comment character
|
|
45
|
+
|
|
46
|
+
echo_and_exec "git config core.commentchar '@'"
|
|
54
47
|
|
|
55
48
|
# get the changelog entry contents
|
|
56
49
|
|
data/bin/release-podspec
CHANGED
|
@@ -34,7 +34,8 @@ changelog_path = 'CHANGELOG.md'
|
|
|
34
34
|
if options[:changelog_path] != nil then
|
|
35
35
|
changelog_path = options[:changelog_path]
|
|
36
36
|
end
|
|
37
|
-
|
|
37
|
+
version = `vrsn --read --file #{podspec}.podspec`
|
|
38
|
+
echo_and_exec "rbenv exec bundle exec changetag #{changelog_path} #{version}"
|
|
38
39
|
echo_and_exec 'git push --tags'
|
|
39
40
|
|
|
40
41
|
spec_lint_flags = Array.new
|