Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Allow to specify BUILD_ALIAS #1723

Merged
merged 1 commit into from
May 30, 2017
Merged

Conversation

apodhrad
Copy link
Contributor

Allow to specify BUILD_ALIAS such as

  • CI
  • CR
  • Final

@apodhrad apodhrad added this to the 2.0.0 milestone May 25, 2017
@apodhrad apodhrad self-assigned this May 26, 2017
apodhrad added a commit to apodhrad/reddeer that referenced this pull request May 26, 2017
apodhrad added a commit to apodhrad/reddeer that referenced this pull request May 26, 2017
Signed-off-by: Andrej Podhradsky <apodhrad@redhat.com>
apodhrad added a commit to apodhrad/reddeer that referenced this pull request May 26, 2017
Signed-off-by: Andrej Podhradsky <apodhrad@redhat.com>
@apodhrad
Copy link
Contributor Author

apodhrad commented May 26, 2017

Now, you can also specify BUILD_TIMESTAMP (by default 'yyyyMMdd-HHmm').So, the version format looks like

2.0.0.SNAPSHOT-v20170526-1217

</dependencies>
<configuration>
<strictBinIncludes>false</strictBinIncludes>
<format>'${BUILD_ALIAS}-v'${BUILD_TIMESTAMP}</format>
Copy link
Contributor

Choose a reason for hiding this comment

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

why not ${BUILD_ALIAS}.v'${BUILD_TIMESTAMP}. Ie eclipse.core is using dot instead of dash

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I used the jbosstools format since eclipse doesn't use the BUILD_ALIAS. Of course, we can discuss which format is best for our purpose.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moreover, I like the dash ;-)

@apodhrad
Copy link
Contributor Author

Unfortunately, it is not possible to update from

2.0.0.SNAPSHOT-vXYZ

to

2.0.0.Final or 2.0.0.Final-vXYZ 

Signed-off-by: Andrej Podhradsky <apodhrad@redhat.com>
@apodhrad
Copy link
Contributor Author

Changed the default build alias to 'CI' so that a user can update to the final bits.

@apodhrad
Copy link
Contributor Author

Moreover, I think it is ok to have a timestamp for any BUILD_ALIAS.

@rawagner rawagner merged commit 101b91d into eclipse-archived:master May 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants