Created
March 17, 2011 17:28
-
-
Save anonymous/874753 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#get the war files from the git repo | |
bash "name_git_repo" do | |
user "username" | |
cwd "path/to/repo" | |
code <<-EOH | |
git checkout -b release-12-todaysdate origin/release-12 | |
EOH | |
end | |
git "/path/to/repo" do | |
repository "user@server:~/path/to/repo}" | |
reference "release-12" | |
user "username" | |
action :sync | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment