Commit 31c31ea0 authored by Francois Merlin's avatar Francois Merlin
Browse files

RELEASER-11 :-it is not possible to release a rc version

parent 0bf8b3bb
......@@ -371,7 +371,7 @@ public class ComponentService implements IComponentService
AppLogService.error( e );
}
ComponentService.getService( ).updateRemoteInformations( component );
component.setTargetVersions( Version.getNextReleaseVersions( component.getCurrentVersion( ) ) );
component.setTargetVersions( Version.getNextReleaseVersions( component.getLastAvailableVersion() ) );
component.setTargetVersion( Version.getReleaseVersion( component.getCurrentVersion( ) ) );
String strNextSnapshotVersion = null;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment