Sha256: 77e23b16adfef2eddd81cea5b9610873d2168244d2fcbe946280a11657d8cd78
Contents?: true
Size: 527 Bytes
Versions: 41
Compression:
Stored size: 527 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', "#{name}.tar.gz", "#{org}/#{name}", version, tmpfile(:tarball) ] nil end end end
Version data entries
41 entries across 41 versions & 1 rubygems