Sha256: b3656ade42d26020d3d96963e77f85bcb1c3b113c850a7f5bf97491659927a22
Contents?: true
Size: 532 Bytes
Versions: 6
Compression:
Stored size: 532 Bytes
Contents
module PkgForge ## # Add upload methods to Forge class Forge Contract None => nil def push! upload_artifact! end private Contract None => String def version @version ||= `git describe --abbrev=0 --tags`.rstrip end Contract None => nil def upload_artifact! run_local [ 'targit', '--authfile', '.github', '--create', '--name', state[:upload_name], "#{org}/#{name}", version, state[:upload_path] ] nil end end end
Version data entries
6 entries across 6 versions & 1 rubygems