Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

correct release script

  • Loading branch information...
commit b2548f17288777a3b8ad6d16653416674d7c0614 1 parent ae7fb24
@notnoop authored
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"
Please sign in to comment.
Something went wrong with that request. Please try again.