Code Review
/
packages
/
trusty
/
python-eventlet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add python-eventlet package to MOS 9.0 repository
[packages/trusty/python-eventlet.git]
/
python-eventlet
/
bin
/
build-website.bash
diff --git
a/python-eventlet/bin/build-website.bash
b/python-eventlet/bin/build-website.bash
index 8f461e0db8902ee735e43ab3fdf89b2b30671c3b..6fd4e0154e2bb07d235a1f2d091cc6805e2b3c64 100755
(executable)
--- a/
python-eventlet/bin/build-website.bash
+++ b/
python-eventlet/bin/build-website.bash
@@
-53,8
+53,7
@@
rm -f "doc/changelog.rst"
if [ $commit -eq 1 ]; then
echo "3. Updating git branch gh-pages"
if [ $commit -eq 1 ]; then
echo "3. Updating git branch gh-pages"
- source_name=`git rev-parse --abbrev-ref HEAD`
- source_id=`git rev-parse --short HEAD`
+ source_name=`git describe --dirty --tags`
git branch --track gh-pages origin/gh-pages || true
git checkout gh-pages
git ls-files |grep -Ev '^.gitignore$' |xargs rm -f
git branch --track gh-pages origin/gh-pages || true
git checkout gh-pages
git ls-files |grep -Ev '^.gitignore$' |xargs rm -f
@@
-70,5
+69,5
@@
if [ $commit -eq 1 ]; then
git status
read -p "Carefully read git status output above, press Enter to continue or Ctrl+C to abort"
git status
read -p "Carefully read git status output above, press Enter to continue or Ctrl+C to abort"
- git commit --edit -m "Website built from $source_name
$source_id
"
+ git commit --edit -m "Website built from $source_name"
fi
fi