Sha256: 29ebcb1c5b9200cfd892ffaec84b562a72a02d87664c7a8d7ab6879e17812970
Contents?: true
Size: 384 Bytes
Versions: 2
Compression:
Stored size: 384 Bytes
Contents
#!/usr/bin/env ruby require_relative "../lib/proto_pharm/version" current_branch = `git rev-parse --abbrev-ref HEAD`.strip unless current_branch == "master" || ProtoPharm::VERSION =~ %r{\.pre\d*\z} puts "Can only release from the master branch 😿" exit 1 end system "git tag v#{ProtoPharm::VERSION}" system "git push --tag" system "git push fury #{current_branch}:master"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
proto_pharm-0.7.0 | bin/release |
proto_pharm-0.6.0 | bin/release |