Sha256: a80372cc4a95c15b9979c664b78d7fd75a796169e6fc3a8d78baf338de8d5633
Contents?: true
Size: 544 Bytes
Versions: 3
Compression:
Stored size: 544 Bytes
Contents
module Dpl module Providers class Cargo < Provider status :alpha 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dpl-2.0.0.alpha.7 | lib/dpl/providers/cargo.rb |
dpl-2.0.0.alpha.6 | lib/dpl/providers/cargo.rb |
dpl-2.0.0.alpha.5 | lib/dpl/providers/cargo.rb |