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

tycho-versions-plugin: Support ci-friendly versions #3900

Merged
merged 1 commit into from
Jun 1, 2024

Conversation

sratz
Copy link
Contributor

@sratz sratz commented May 31, 2024

In PomFile#getVersion(), resolve properties used in the raw version of the project. This is necessary so that downstream manipulators (MANIFEST.MF, feature.xml, category.xml, ...) can see the actual version and act on it.

Fixes #3744.

@sratz sratz requested a review from laeubi May 31, 2024 13:22
Copy link

github-actions bot commented May 31, 2024

Test Results

  594 files  ±0    594 suites  ±0   3h 56m 55s ⏱️ - 6m 16s
  424 tests +1    417 ✅ +2   7 💤 ±0  0 ❌  - 1 
1 272 runs  +3  1 250 ✅ +4  22 💤 ±0  0 ❌  - 1 

Results for commit 1746be2. ± Comparison against base commit a8592b4.

♻️ This comment has been updated with latest results.

In PomFile#getVersion(), resolve properties used in the raw version of
the project. This is necessary so that downstream manipulators
(MANIFEST.MF, feature.xml, category.xml, ...) can see the actual version
and act on it.

Fixes eclipse-tycho#3744.
@sratz
Copy link
Contributor Author

sratz commented May 31, 2024

I refactored things a bit more. In fact, the utility is not specific to versions, but just deals with properties in general.

Copy link
Member

@laeubi laeubi left a comment

Choose a reason for hiding this comment

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

Looks very good, thank you!

@laeubi laeubi added the backport-to-tycho-4.0.x Can be added to a PR to trigger an automatic backport of the change label Jun 1, 2024
@laeubi laeubi merged commit f4e7ede into eclipse-tycho:main Jun 1, 2024
12 checks passed
@eclipse-tycho-bot
Copy link

💚 All backports created successfully

Status Branch Result
tycho-4.0.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-tycho-4.0.x Can be added to a PR to trigger an automatic backport of the change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

set-version fails to update MANIFEST.MF if CI-firendly versions are in use
3 participants