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

fix: versioning #577

Merged
merged 6 commits into from
Sep 3, 2024
Merged

fix: versioning #577

merged 6 commits into from
Sep 3, 2024

Conversation

frisonisland
Copy link
Contributor

@frisonisland frisonisland commented Sep 2, 2024

These changes address three issues:

  • alignment of jython-libraries module version
  • set of profile -pProd or default (devel) depending if building tag or not
  • Fix dependencies version using project.version variable, according to: https://maven.apache.org/maven-ci-friendly.html

We noticed that releasing a non SNAPSHOT version produces a pom with SNAPSHOT dependencies, for example zm-mailbox-24.9.1.pom contains zm-common-24.9.1-SNAPSHOT.
This causes projects using mailbox as dependency will fail downloading transitive dependencies (zm-store-24.9.1-SNAPSHOT does not exist).
Using ${project.version} seems to be the supported way by Maven.

- avoid using two different buildingTag methods as it can lead to inconsistency
- according to Jenkins doc, TAG_NAME environment variables is set only when building tag
@frisonisland frisonisland requested a review from a team as a code owner September 2, 2024 16:42
@frisonisland frisonisland requested review from keshavbhatt, drazen04 and zextrasGiovanniDefacci and removed request for a team September 2, 2024 16:42
@frisonisland frisonisland changed the base branch from devel to main September 2, 2024 16:42
@sonersivri sonersivri self-requested a review September 3, 2024 12:38
@frisonisland frisonisland merged commit c6982c1 into main Sep 3, 2024
3 checks passed
@frisonisland frisonisland deleted the fix/versioning branch September 3, 2024 13:38
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.

4 participants