aboutsummaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-10-07 23:54:12 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-10-07 23:54:12 +0200
commitbb09fa4f050a7f3cb172af69487de21d6d630bbd (patch)
tree77719ba6e3e092ab47ac1edff3d78e70af2de94a /website
parentc2f1858781a4a1a5ae6f47a961172ee0b4cb6d53 (diff)
parent23da5b1e80bd03ee3fc02b7d7ee03130f158e7c4 (diff)
downloadlombok-bb09fa4f050a7f3cb172af69487de21d6d630bbd.tar.gz
lombok-bb09fa4f050a7f3cb172af69487de21d6d630bbd.tar.bz2
lombok-bb09fa4f050a7f3cb172af69487de21d6d630bbd.zip
Merge branch 'lombokpatcher'
Diffstat (limited to 'website')
-rwxr-xr-xwebsite/publish37
1 files changed, 0 insertions, 37 deletions
diff --git a/website/publish b/website/publish
deleted file mode 100755
index 412c71f6..00000000
--- a/website/publish
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-if [ ! -e src/lombok/core/Version.java ]; then
- echo Run this script from the lombok project home directory.
- exit
-fi
-
-if [ ! -e dist/website.tar.bz2 ]; then
- echo There is no dist/website.tar.bz2 file! Run:
- echo ant website
- echo then restart this script
- exit
-fi
-
-mkdir -p build/temp || exit
-cd build/temp || exit
-git clone -l -n ../.. websitegit || exit
-cd websitegit || exit
-BRANCHOK="foo"
-git branch gh-pages origin/gh-pages || BRANCHOK="bar"
-if [ $BRANCHOK == "bar" ]; then
-echo If you get error fatal: Not a valid object name: origin/gh-pages.
-echo then run: git branch gh-pages origin/gh-pages
-echo first before running this script
- exit
-fi
-git checkout gh-pages || exit
-rm -r * || exit
-tar xfj ../../../dist/website.tar.bz2 || exit
-git add . || exit
-git commit -a -m website || exit
-git push origin gh-pages || exit
-cd .. || exit
-rm -rf websitegit || exit
-
-echo Your gh-pages branch has been updated. Do not forget to run:
-echo git push origin gh-pages