Sha256: 81a0f1eb9f11e9396144cfc5f9aee3f287426aedc2cff7b3fc7b74f4f180bf38
Contents?: true
Size: 406 Bytes
Versions: 1
Compression:
Stored size: 406 Bytes
Contents
module YSI class PushedTag < Assertion def display_name "pushed tag" end def tag "v#{@engine.version}" end def check response = `git ls-remote --tags origin #{tag}` if response.include?(tag) return response end nil end def assert(dry_run: false) if !dry_run `git push --tags` end tag end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yes_ship_it-0.0.1 | assertions/pushed_tag.rb |