Tag is being created with SNAPSHOT version

Bug #1053384 reported by Jose Maria Nunez Izu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gradle-release
Confirmed
Undecided
Eric Berry

Bug Description

When I try to perform a new release, using a SNAPSHOT version, this is what happens:

- the current revision is obtained and stored in props.releaseSvnRev, i.e. rev 1000
- the -SNAPSHOT is removed and the file 'gradle.properties' is updated
- the new change is committed and the revision changes to 1001, but the property is NOT updated
- the tag is then created with an old revision (rev 1000) that contains -SNAPSHOT as part of the version.

Proposed solution:

- After the preTagCommit task is executed, the project property should be updated with the new revision number

Additional info:

- running svn
- os x

Thanks,
Jose.-

description: updated
Eric Berry (elberry)
Changed in gradle-release:
assignee: nobody → Eric Berry (elberry)
Eric Berry (elberry)
Changed in gradle-release:
status: New → Confirmed
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.