Skip to content

fix(ci): set version before tests, publishing #209

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

Conversation

paullatzelsperger
Copy link
Member

What this PR changes/adds

This PR adds a temporary fix to update the gradle/libs.version.toml version catalog before a version is published.
Specifically, it passes the version string to verify.yaml, so that tests are executed using the given upstream EDC modules, and it updates gradle.properties, gradle/libs.versions.toml and DEPENDENCIES before the Maven artefacts are published.

In addition, the release job (release-tech-aws.yaml) only bumps the version if it was a "release" version (not a hotfix/bugfix or a snapshot).

Why it does that

employ a temporary fix until a restructuring of the release workflow can be implemented.

Further notes

I intentionally did not extract the sed command in a re-usable action, because it is a temporary fix anyway, and it is better if it sticks out like a sore thumb

Linked Issue(s)

Closes # <-- insert Issue number if one exists

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@paullatzelsperger paullatzelsperger added the bug Something isn't working label Aug 12, 2024
@paullatzelsperger paullatzelsperger merged commit 5900986 into eclipse-edc:main Aug 12, 2024
14 checks passed
paullatzelsperger added a commit to paullatzelsperger/Technology-Gcp that referenced this pull request Aug 12, 2024
* fix(ci): set version before tests, publishing

* DEPENDENCIES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants