jreleaser / jreleaser

:rocket: Release projects quickly and easily with JReleaser
https://jreleaser.org
Apache License 2.0
944 stars 109 forks source link

[deploy] Ability to pass in profile ID for staging #1649

Closed cstamas closed 5 months ago

cstamas commented 5 months ago

Many times user knows what Staging profile it wants to stage to. Then no "find" or "match" is needed, just go with configured value (and server will eventually reject you if user made a typo or any mstake).

aalmiray commented 5 months ago

FWIW it can be set via environment variable or system property since 1.11.0, see https://jreleaser.org/guide/latest/reference/deploy/maven/nexus2.html#_staged_deployments

Explicit DSL property may be added in the future.

aalmiray commented 3 months ago

🎉 This issue has been resolved in v1.13.0 (Release Notes)