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

Completely redo version naming and custom dynamic versioning #32

Open
calvertdw opened this issue Dec 7, 2017 · 2 comments
Open

Completely redo version naming and custom dynamic versioning #32

calvertdw opened this issue Dec 7, 2017 · 2 comments
Assignees

Comments

@calvertdw
Copy link
Member

calvertdw commented Dec 7, 2017

Version API

Gradle built-in

  • source (with bad error talking about maven repos)
  • 0.10.0
  • 0.10.0-build-3100-SNAPSHOT
  • 0.10.0-nightly-171205-SNAPSHOT
  • 0.10.0-171205 - Manual unofficial publish
  • LOCAL - Using from mavenLocal, presumably published using publishToMavenLocal

ihmc-build intercepted

  • source (good error telling you to clone it)
  • latest-snapshot - Fetch 0.10.0-build-3100-SNAPSHOT and pass to Gradle
  • latest-[branch_name] - Fetch 0.10.0-build-3100-SNAPSHOT w/ POM matching branch and pass to Gradle
  • latest-nightly - Fetch 0.10.0-nightly-171205-SNAPSHOT and pass to Gradle
  • ? *-build-+-SNAPSHOT - Maybe include a more advanced maven-style dynamic syntax

POM Changes

POM will now include:

  • First parent's Commit # and message
  • Timestamp
  • Bamboo build info (URL)
  • First parent's branch name

Deprecation

  • SNAPSHOT-LATEST would be deprecated and would delegate to latest-snapshot
  • Branches will no longer be part of the name, because branches will differ across builds.
@calvertdw calvertdw changed the title Change custom dynamic version syntax from capital letters Completely redo version naming and custom dynamic versioning Dec 7, 2017
@calvertdw
Copy link
Member Author

Avoids this issue in Bitbucket that assumes a version is a JIRA ticket.
image

@calvertdw
Copy link
Member Author

Things to include in the POM:

  • Commit hash and message
  • timestamp
  • CI URL

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

No branches or pull requests

3 participants