From 1786f9f635231bae11d3086fab70b28645bf9b06 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Wed, 8 Nov 2006 15:11:58 +0000 Subject: [PATCH] added my private automation script git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1060 71c3de6d-444a-0410-be80-ed276b4c234a --- publish-javadoc.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 publish-javadoc.sh diff --git a/publish-javadoc.sh b/publish-javadoc.sh new file mode 100644 index 0000000000..0a0fd4756c --- /dev/null +++ b/publish-javadoc.sh @@ -0,0 +1,18 @@ +#!/bin/bash -x +# +# Kohsuke's automation script to publish javadoc to java.net CVS repository. +# Checked in only because Maven doesn't let me release it unless I have it in CVS. +# + +cd ../www/javadoc +cvs update -Pd + +cp -R ../../hudson/build/javadoc/* . + +# ignore everything under CVS, then +# ignore all files that are already in CVS, then +# add the rest of the files +find . -name CVS -prune -o -exec bash in-cvs.sh {} \; -o \( -print -a -exec cvs add {} \+ \) + +# sometimes the first commit fails +cvs commit -m "commit 1 " || cvs commit -m "commit 2" -- GitLab