Class: ReleaseXing
- Inherits:
-
Object
- Object
- ReleaseXing
- Defined in:
- lib/renuo/cli/app/release_xing.rb
Constant Summary collapse
- 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
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/renuo/cli/app/release_xing.rb', line 7 def run checkout_project cmd_in_folder 'git remote add -f renuo [email protected]:renuo/xing-campaign.git' cmd_in_folder 'git pull' cmd_in_folder 'git fetch renuo develop' cmd_in_folder 'git subtree pull --prefix public renuo develop --squash' cmd_in_folder 'git push' ensure cleanup end |