Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support clean release version without changelist #13

Closed
wants to merge 1 commit into from

Conversation

justusbunsi
Copy link

Many plugins have a clean version for a stable release, such as Blue Ocean or similar. It seems that they don't use this workflow action as it currently creates releases such as for the Gitea plugin.

This PR adds the possibility to opt-out incremental/snapshot/rc suffixes during plugin release/deploy and for creating the actual GitHub release from a previously created draft. By default the suffix will be used.

Additionally resolves: #6

justusbunsi added a commit to justusbunsi/gitea-plugin that referenced this pull request Nov 21, 2021
@justusbunsi justusbunsi changed the title Allow clean release version without changelist Support clean release version without changelist Nov 21, 2021
lafriks pushed a commit to jenkinsci/gitea-plugin that referenced this pull request Nov 21, 2021
* Add alt-texts to badges

This is a commit for letting the status checks fail.

* Lower the release version

* Re-Add changelist to version

* Opt-out incremental suffix during release

See: jenkins-infra/jenkins-maven-cd-action#13

* Auto-incrementalify after release
viceice added a commit to visualon/jenkins-gitea-plugin that referenced this pull request Nov 24, 2021
* Enable cd workflow (#35)

* Enable cd workflow

Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>

* Add missing GitHub workflow

Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>

* Update .github/workflows/cd.yaml

Co-authored-by: Lauris BH <lauris@nix.lv>

* Switch back to classic version syntax

Co-authored-by: Lauris BH <lauris@nix.lv>

* Bump version to 1.5.0 (jenkinsci#42)

Additionally: Fix tag/release template to match previous releases

* Fix release versioning + incremental builds (jenkinsci#43)

* Add alt-texts to badges

This is a commit for letting the status checks fail.

* Lower the release version

* Re-Add changelist to version

* Opt-out incremental suffix during release

See: jenkins-infra/jenkins-maven-cd-action#13

* Auto-incrementalify after release

* Fix JENKINS-67068 (jenkinsci#44)

As a result of PR #29 it happens that some users cannot fetch branches
with slashes in their names anymore.

Regression from: JENKINS-65796

Co-authored-by: Steven <61625851+justusbunsi@users.noreply.github.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
@jglick
Copy link
Contributor

jglick commented Dec 2, 2021

I hope to support plugins still using MRP, but not this way.

@jglick jglick closed this Dec 2, 2021
@justusbunsi
Copy link
Author

Anything I could change so that it would fit better? Or do you not want to support such clean versions in general?

@jglick
Copy link
Contributor

jglick commented Dec 2, 2021

See #14, to be used for components which cannot use full JEP-229. Not recommended in general.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Version extraction is not working correctly
2 participants