Revert "Try not cloning again, fetch beforehand"
This reverts commit d0f3e14932
.
This commit is contained in:
parent
d0f3e14932
commit
25e0aab57c
|
@ -11,11 +11,8 @@ TARGET_BRANCH="master"
|
||||||
BUILD_DIR=".build"
|
BUILD_DIR=".build"
|
||||||
|
|
||||||
# Prepare the build directory.
|
# Prepare the build directory.
|
||||||
# git clone $REPO $BUILD_DIR
|
git clone $REPO $BUILD_DIR
|
||||||
mkdir -p $BUILD_DIR
|
|
||||||
cp -R .git $BUILD_DIR
|
|
||||||
pushd $BUILD_DIR
|
pushd $BUILD_DIR
|
||||||
git fetch
|
|
||||||
git checkout $TARGET_BRANCH || git checkout --orphan $TARGET_BRANCH
|
git checkout $TARGET_BRANCH || git checkout --orphan $TARGET_BRANCH
|
||||||
popd
|
popd
|
||||||
rm -rf ${BUILD_DIR}/**/* || exit 0
|
rm -rf ${BUILD_DIR}/**/* || exit 0
|
||||||
|
|
|
@ -48,7 +48,7 @@ I’m a webmaster and documentation maintainer for [Drupal.org][42], and a provi
|
||||||
- [Disqus][38]
|
- [Disqus][38]
|
||||||
- IRC (freenode) - {{ site.irc.name }}
|
- IRC (freenode) - {{ site.irc.name }}
|
||||||
|
|
||||||
test 4
|
test 3
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
[1]: https://www.google.com/#q=opdavies
|
[1]: https://www.google.com/#q=opdavies
|
||||||
|
|
Reference in a new issue