Skip to content
This repository has been archived by the owner on Nov 29, 2017. It is now read-only.

Commit

Permalink
use 'git clone' to copy git repo
Browse files Browse the repository at this point in the history
  • Loading branch information
drnic committed Feb 12, 2016
1 parent b414401 commit 9d36418
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions ci/bump-installer-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
set -e -x

new_version_tag=$(cat cf-cli-release/tag)
cp -r traveling-cf-admin version-bumped-repo
cd version-bumped-repo

git config --global user.email "robot@concourse.ci"
git config --global user.name "Concourse"

git clone traveling-cf-admin version-bumped-repo
cd version-bumped-repo

if [[ "$(git status -s)X" != "X" ]]; then
git add cf-cli-release
git commit -m "Bumping installer to ${new_version_tag} of traveling-cf-admin"
Expand Down
2 changes: 1 addition & 1 deletion ci/bump-installer-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ inputs:
- name: cf-cli-release

outputs:
- name: version-bumped-repo
- name: traveling-cf-admin

run:
path: traveling-cf-admin/ci/bump-installer-version.sh

0 comments on commit 9d36418

Please sign in to comment.