tworingtools 1.4.0 → 1.4.1
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/prerelease-podspec +1 -1
- data/bin/release-podspec +1 -1
- data/bin/revert-failed-release-tag +20 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b65e7f760105784d31f8af50a73f4fd8d82bec10ce5b1f9947e5db809b2c7e2e
|
|
4
|
+
data.tar.gz: e96728e8f3d26fcb7278d97b634eee114abde0079017a3008ca36bd636d7d3b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f17d9253750f0e54d48be4fee79fff2c91a5bb1d3999adc59451170d3cac9819bc3b7c681c8314e0c77a6ba806b112a5fd28060060f22b4cbb4416b49ea40ba0
|
|
7
|
+
data.tar.gz: 31dcf60cb6fbd40a7a4bdc48f40873225022aeb0ba8a9ec434f896d8339b140cd154390a37466d52f7b0c4eb615ac80e0c54fb0af5e163b03adf831fcf56c279
|
data/bin/prerelease-podspec
CHANGED
|
@@ -12,7 +12,7 @@ options = {}
|
|
|
12
12
|
parser = OptionParser.new do |opts|
|
|
13
13
|
opts.banner = <<~BANNER
|
|
14
14
|
|
|
15
|
-
Usage: prerelease-podspec [options] <podspec-name>
|
|
15
|
+
Usage: prerelease-podspec [options] <podspec-name>
|
|
16
16
|
|
|
17
17
|
Branch and create/push a release candidate tag, modify the podspec to use that version tag, and try linting it.
|
|
18
18
|
|
data/bin/release-podspec
CHANGED
|
@@ -8,7 +8,7 @@ options = {}
|
|
|
8
8
|
parser = OptionParser.new do |opts|
|
|
9
9
|
opts.banner = <<~BANNER
|
|
10
10
|
|
|
11
|
-
Usage: release-podspec [options] <podspec-name>
|
|
11
|
+
Usage: release-podspec [options] <podspec-name>
|
|
12
12
|
|
|
13
13
|
Form Git tags and push them to remote, then push the podspec to CocoaPods trunk.
|
|
14
14
|
|
|
@@ -2,8 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
podspec = ARGV[0]
|
|
4
4
|
|
|
5
|
+
options = {}
|
|
6
|
+
parser = OptionParser.new do |opts|
|
|
7
|
+
opts.banner = <<~BANNER
|
|
8
|
+
|
|
9
|
+
Usage: revert-failed-release-tag <podspec-name>
|
|
10
|
+
|
|
11
|
+
Branch and create/push a release candidate tag, modify the podspec to use that version tag, and try linting it.
|
|
12
|
+
|
|
13
|
+
Options:
|
|
14
|
+
|
|
15
|
+
BANNER
|
|
16
|
+
opts.on('-h', '--help', 'Print this help message.') do
|
|
17
|
+
puts opts
|
|
18
|
+
exit
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
parser.parse!
|
|
22
|
+
|
|
5
23
|
version_file = "#{podspec}.podspec"
|
|
6
24
|
version = `vrsn --read --file #{version_file}`.strip
|
|
7
25
|
tag = "#{podspec}-#{version}"
|
|
8
|
-
|
|
9
|
-
|
|
26
|
+
`git tag --delete #{tag}`
|
|
27
|
+
`git push --delete origin #{tag}`
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tworingtools
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew McKnight
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-09-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: github_api
|