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

Update release workflow #16

Merged
merged 2 commits into from
Jan 26, 2024
Merged

Update release workflow #16

merged 2 commits into from
Jan 26, 2024

Conversation

gastaldi
Copy link
Member

@gastaldi gastaldi requested a review from a team as a code owner January 25, 2024 18:34
if ! git diff --quiet docs/modules/ROOT/pages/includes/attributes.adoc; then
git add docs/modules/ROOT/pages/includes/attributes.adoc
git commit -m "Update the latest release version ${{steps.metadata.outputs.current-version}} in documentation"
fi

- name: Maven release ${{steps.metadata.outputs.current-version}}
run: |
mvn -B release:prepare -Prelease -Dspotless.check.skip=true -DreleaseVersion=${{steps.metadata.outputs.current-version}} -DdevelopmentVersion=${{steps.metadata.outputs.next-version}}
mvn -B release:perform -Dspotless.check.skip=true -Darguments=-DperformRelease -DperformRelease -Prelease -Dspotless.check.skip=true
mvn -B spotless:apply
Copy link
Contributor

@andreaTP andreaTP Jan 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that release was changing the style of the pom.xml, I think it's safe to leave spotless:apply, or have you tested this aspect already?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird, I don't think it happens in other projects. At least I've never noticed it happen :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I disabled the standard formatting and we are using spotless here, is it an issue?

Copy link
Member Author

@gastaldi gastaldi Jan 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd recommend to use the standard formatting plugin (the one inherited from quarkuverse-parent), since that's the same all other extensions also use

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, I'll try to use it(tomorrow) to have less friction here ...

@andreaTP
Copy link
Contributor

I merge this one and fix on top, thanks for contributing @gastaldi

@andreaTP andreaTP merged commit 1f9d344 into main Jan 26, 2024
1 check failed
@andreaTP andreaTP deleted the update_release branch January 26, 2024 11:05
@andreaTP
Copy link
Contributor

andreaTP commented Jan 26, 2024

@all-contributors add @gastaldi for code and maintenance

@gastaldi
Copy link
Member Author

Hm, weird that @all-contributors bot didn't work here.

Copy link
Contributor

@gastaldi

I could not determine your intention.

Basic usage: @all-contributors please add @Someone for code, doc and infra

For other usages see the documentation

@andreaTP
Copy link
Contributor

@all-contributors add @gastaldi for code and maintenance

Copy link
Contributor

@andreaTP

I've put up a pull request to add @gastaldi! 🎉

@andreaTP
Copy link
Contributor

@gastaldi for reference, all-contributors doesn't handle updates of the comments

@gastaldi
Copy link
Member Author

Ah true, I've noticed that in the past as well.

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.

2 participants