mirror of
https://github.com/alexkurowski/solo-toolkit.git
synced 2026-07-22 10:10:32 +00:00
12 lines
216 B
Ruby
12 lines
216 B
Ruby
require 'json'
|
|
|
|
def sh(cmd)
|
|
puts cmd
|
|
puts `#{cmd}`
|
|
end
|
|
|
|
manifest = JSON.parse File.read 'manifest.json'
|
|
version = manifest['version']
|
|
|
|
sh "git tag -a #{version} -m \"#{version}\""
|
|
sh "git push origin #{version}"
|