[
https://issues.apache.org/jira/browse/BUILDR-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12888695#action_12888695
]
Alexis Midon commented on BUILDR-436:
-------------------------------------
This issue should be reopen. The patch does not work.
The patch intent is to not increment the version number when there's no
SNAPSHOT, in which case the buildfile is left untouched.
But the next step in the release process is to commit the buildfile which fails
because there's no change.
The specs didn't detect the bug because they only use the parent class Release,
not GitRelease or SvnRelease.
> release task should only replace "-SNAPSHOT"
> --------------------------------------------
>
> Key: BUILDR-436
> URL: https://issues.apache.org/jira/browse/BUILDR-436
> Project: Buildr
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.3.5, 1.4
> Environment: Linux 2 2.6.31-21-generic i686 GNU/Linux
> Reporter: Jean-Philippe Caruana
> Assignee: Antoine Toulme
> Fix For: 1.4.2
>
> Attachments: BUILDR-436_spec.patch
>
>
> When I commit "2.2.0-rc1" in my buildfile and do a "buildr release", it
> builds a project-artifact-2.2.0.jar. My "-rc1" is dropped (everything after
> "-" is dropped, in order to drop the "-SNAPSHOT" part)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.