lib/orientepodspecpush.rb in orientepodspecpush-0.3.0 vs lib/orientepodspecpush.rb in orientepodspecpush-0.3.1

- old
+ new

@@ -97,11 +97,11 @@ # system "git add ." # system "git commit -m 'upload framework'" # - if opts[:versionCommitMsg] == nil + if opts[:tagCommitMsg] == nil system "git tag -a #{opts[:tag]} -m 'add new tag'" else system "git tag -a #{opts[:tag]} -m '#{opts[:tagCommitMsg]}'" end # system "git tag -a #{@podVersion} -m '#{@podVersionMessage}'" @@ -204,9 +204,13 @@ ensureGitClean ensureSpecfile # packageCode # User input + @podVersion = opts[:tag] + puts "----------------------------" + puts @podVersion + puts "------------------------------------------------" updateVersion(opts) # Cmds @lintCmd = makeLintCmd(opts) @pushCmd = makePushCmd(opts)