Sha256: 1bf88930ca2536f657af65b1c6fb47276b668905fd735979ff7c0b1a98c4dd0c
Contents?: true
Size: 593 Bytes
Versions: 12
Compression:
Stored size: 593 Bytes
Contents
# frozen_string_literal: true module Dpl module Providers class Cargo < Provider register :cargo status :stable description sq(<<-STR) tbd STR env :cargo opt '--token TOKEN', 'Cargo registry API token', required: true, secret: true opt '--allow_dirty', 'Allow publishing from a dirty git working directory' cmds publish: 'cargo publish %{publish_opts}' def deploy shell :publish end private def publish_opts opts_for(%i[token allow_dirty], dashed: true) end end end end
Version data entries
12 entries across 12 versions & 2 rubygems