Skip to content

Instantly share code, notes, and snippets.

Created March 17, 2011 17:28
Show Gist options
  • Save anonymous/874753 to your computer and use it in GitHub Desktop.
Save anonymous/874753 to your computer and use it in GitHub Desktop.
#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