</target>\r
\r
\r
- <!--\r
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
- Upload artifacts to GoogleCode and the remote Maven repository\r
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
- -->\r
- <target name="uploadArtifacts" depends="build">\r
-\r
- <mx:gcupload\r
- username="${googlecode.user}"\r
- password="${googlecode.password}"\r
- projectname="iciql"\r
- filename="${project.targetDirectory}/${project.artifactId}-${project.version}.zip"\r
- targetfilename="${project.artifactId}-${project.version}.zip"\r
- summary="Version ${project.version} -- library, sources, and javadoc"\r
- labels="Featured, Type-Package, OpSys-All" />\r
-\r
- <mx:ftp server="${ftp.server}" userid="${ftp.user}" password="${ftp.password}"\r
- remotedir="${ftp.maven.dir}" verbose="yes" depends="yes" timediffauto="true"\r
- preservelastmodified="true">\r
- <fileset dir="${basedir}/maven">\r
- <!-- exclude root files -->\r
- <exclude name="*.md" />\r
- <exclude name=".git*" />\r
- </fileset>\r
- </mx:ftp>\r
- </target>\r
-\r
-\r
<!--\r
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
Build the iciql website\r
\r
<menu name="downloads">\r
<link name="${project.artifactId}-${project.releaseVersion}"\r
- src="${gc.url}${project.artifactId}-${project.releaseVersion}.jar" />\r
+ src="${gc.url}${project.artifactId}-${project.releaseVersion}.zip" />\r
<divider />\r
<link name="Maven Repository" src="${project.mavenUrl}" />\r
</menu>\r
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo ""
git checkout gh-pages
-git pull
git add maven
git commit -m "updated Maven submodule repository to ${project.version}"
# push project branches
echo ""
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
-echo "Pushing master, gh-pages, and tag ${project.tag}"
+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 gh-pages tag ${project.tag}
+git push origin master tag ${project.tag}
# update the Maven submodule reference
git submodule update