lib/renuo/cli/app/release_xing.rb in renuo-cli-1.7.3 vs lib/renuo/cli/app/release_xing.rb in renuo-cli-1.8.0
- old
+ new
@@ -1,6 +1,6 @@
class ReleaseXing
- TMP_FOLDER_NAME = ('_RENUO_RELEASE_TEMP_' + rand(100_000_000).to_s).freeze
+ TMP_FOLDER_NAME = "_RENUO_RELEASE_TEMP_#{rand(100_000_000)}".freeze
MOVE_TO_TMP_FOLDER = "mkdir -p #{TMP_FOLDER_NAME} && cd #{TMP_FOLDER_NAME}".freeze
def run
checkout_project
cmd_in_folder 'git remote add -f renuo git@github.com:renuo/xing-campaign.git'