We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c4b363 commit c0c2ddbCopy full SHA for c0c2ddb
test/release_version.rb
@@ -0,0 +1,17 @@
1
+# update version
2
+version = ARGV[0]
3
+if version == nil
4
+ puts "please input a version"
5
+ exit
6
+end
7
+path = "lib/cocoapods-binary/gem_version.rb"
8
+content = <<-eos
9
+module CocoapodsBinary
10
+ VERSION = "#{version}"
11
12
+eos
13
+File.write(path, content)
14
+
15
+`git add -A; git commit -m "bump version"; git push`
16
+`rake install`
17
+`gem push pkg/cocoapods-binary-#{version}.gem`
0 commit comments