Skip to content
Browse files

correct release script

  • Loading branch information...
1 parent ae7fb24 commit b2548f17288777a3b8ad6d16653416674d7c0614 @notnoop committed Dec 29, 2009
Showing with 7 additions and 4 deletions.
  1. +7 −4 Makefile.release
View
11 Makefile.release
@@ -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}
@@ -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"

0 comments on commit b2548f1

Please sign in to comment.
Something went wrong with that request. Please try again.