allegro / allegro/axion-release-plugin

How to force snapshot version for certain branches

Aperta
#440 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
Groovy
Stelle
641
Fork
165
Merge medio
49m
PR unite (30g)
9

Descrizione

I'm trying to implement a configuration of the release plugin such that certain branches *always* produce a snapshot version.

For example, any branch matching 'PR-.*' must produce a snapshot version, even if it is on a release tagged changeset.

I am aware of the property 'release.forceSnapshot' however I'd like to effectively apply this option programmatically from within scmVersion configuration depending on branch.

Can anyone help if this is possible, and how one might go about it?

Thanks!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.