Sha256: ba03929555c910efdc0960589291929389ce20dd3eaa4ac201f49ce47c4f0189
Contents?: true
Size: 568 Bytes
Versions: 7
Compression:
Stored size: 568 Bytes
Contents
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
7 entries across 7 versions & 1 rubygems