diff options
author | James Moger <james.moger@gitblit.com> | 2016-04-05 11:06:56 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2016-04-05 11:06:56 -0400 |
commit | c4801865d0ff69e9f80c587ada5ca26ceae1f484 (patch) | |
tree | aa538f63853a7eb978ab8309f5dbbf0d3bbb79b2 | |
parent | 520d49f6f2fc2ae6817e1d1b72afee53ae052830 (diff) | |
download | iciql-c4801865d0ff69e9f80c587ada5ca26ceae1f484.tar.gz iciql-c4801865d0ff69e9f80c587ada5ca26ceae1f484.zip |
Remove submodule reference
-rw-r--r-- | .gitmodules | 3 | ||||
m--------- | maven | 0 | ||||
-rw-r--r-- | release.template | 114 |
3 files changed, 0 insertions, 117 deletions
diff --git a/.gitmodules b/.gitmodules index ef8884f..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "maven"] - path = maven - url = https://github.com/gitblit/iciql-maven.git diff --git a/maven b/maven deleted file mode 160000 -Subproject 380592621609d617d3a9267a708664db465a9b6 diff --git a/release.template b/release.template deleted file mode 100644 index 00296c2..0000000 --- a/release.template +++ /dev/null @@ -1,114 +0,0 @@ -#!/bin/bash -# -# ${project.version} release script -# - -# go back one commit to RELEASE commit -echo "" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "Checking out ${project.version} RELEASE commit ${project.commitId}" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "" -git checkout ${project.commitId} - -# submodules operate on a detached HEAD so we first checkout and pull master -echo "" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "Preparing Maven submodule" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "" -cd maven -git checkout master -git pull -cd .. - -# build RELEASE artifacts, this will deploy artifacts into maven folder -echo "" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "Building ${project.version} RELEASE artifacts" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "" -ant - -# commit all generated artifacts and metadata in submodule -echo "" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "Committing Maven submodule ${project.version} RELEASE artifacts" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "" -cd maven -git add . -git commit -m "${project.version} artifacts" -cd .. - -# Update master branch Maven submodule repository reference -echo "" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "Updating master for Maven submodule ${project.version} RELEASE artifacts" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "" -git checkout master -git add maven -git commit -m "updated Maven submodule repository to ${project.version}" - -# Update gh-pages branch Maven submodule repository reference -echo "" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "Updating gh-pages for Maven submodule ${project.version} RELEASE artifacts" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "" -git checkout gh-pages -git add maven -git commit -m "updated Maven submodule repository to ${project.version}" - -# return to release commit -echo "" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "Checking out ${project.version} RELEASE commit ${project.commitId}" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "" -git checkout ${project.commitId} - -# build site, update gh-pages, and ftp upload site to hosting provider -echo "" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "Building ${project.version} website" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "" -ant testsuite publishSite - -# return to project master -echo "" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "Checking out master" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "" -git checkout master - -# push Maven submodule to origin -echo "" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "Pushing Maven submodule" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "" -cd maven -git push origin master -cd .. - -# push project branches -echo "" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "Pushing gh-pages" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "" -git push -f origin gh-pages - -echo "" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "Pushing master and tag ${project.tag}" -echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" -echo "" -git push origin master tag ${project.tag} - -# update the Maven submodule reference -git submodule update |