Skip to content

Commit

Permalink
correct release script
Browse files Browse the repository at this point in the history
  • Loading branch information
notnoop committed Dec 30, 2009
1 parent ae7fb24 commit b2548f1
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Makefile.release
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ site-push:

################### Repo #######################

repo: repo-prepare repo-clone repo-gen repo-push
repo: repo-gen repo-prepare repo-clone repo-copy repo-push

repo-gen:
mvn release:prepare
mvn release:perform

repo-prepare:
rm -rf ${REPO_DIR}
Expand All @@ -47,9 +51,8 @@ repo-prepare:
repo-clone:
git clone -b ${BRANCH} ${REPO_GIT} ${REPO_DIR}

repo-gen:
mvn release:prepare
mvn release:perform
repo-copy:
cp -r target/checkout/${REPO_DIR}/ ${REPO_DIR}

repo-push:
cd ${REPO_DIR}; git add .; git commit -a -m "Updating release repo"
Expand Down

0 comments on commit b2548f1

Please sign in to comment.