Commit 3c6701570bbff8ac90f80165cf375dcbbc4c39f8

Authored by Rodrigo Souto
1 parent 4653f08c

release-script: ask rc version instead of using timestamp always

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
lib/tasks/release.rake
... ... @@ -144,8 +144,8 @@ EOF
144 144 version_name = new_version = ask(version_question)
145 145  
146 146 if release_kind == 'test'
147   - timestamp = Time.now.strftime('%Y%m%d%H%M%S')
148   - version_name += "~rc#{timestamp}"
  147 + rc_version = ask('RC version', Time.now.strftime('%Y%m%d%H%M%S'))
  148 + version_name += "~rc#{rc_version}"
149 149 end
150 150 release_message = ask("Release message")
151 151  
... ...