release.sh: clone from canonical location
This ensures the repository is up-to-date (in all branches!), hopefully
preventing merge mistakes such as the one fixed with
0e29101ae5
This commit is contained in:
parent
efff2361cb
commit
ab2d46b65b
|
@ -45,7 +45,7 @@ if ! wget https://i3wm.org/downloads/i3-${PREVIOUS_VERSION}.tar.bz2; then
|
||||||
echo "Could not download i3-${PREVIOUS_VERSION}.tar.bz2 (required for comparing files)."
|
echo "Could not download i3-${PREVIOUS_VERSION}.tar.bz2 (required for comparing files)."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
git clone --quiet --branch "${RELEASE_BRANCH}" file://${STARTDIR}
|
git clone --quiet --branch "${RELEASE_BRANCH}" https://github.com/i3/i3
|
||||||
cd i3
|
cd i3
|
||||||
if [ ! -e "${STARTDIR}/RELEASE-NOTES-${RELEASE_VERSION}" ]; then
|
if [ ! -e "${STARTDIR}/RELEASE-NOTES-${RELEASE_VERSION}" ]; then
|
||||||
echo "Required file RELEASE-NOTES-${RELEASE_VERSION} not found."
|
echo "Required file RELEASE-NOTES-${RELEASE_VERSION} not found."
|
||||||
|
|
Loading…
Reference in New Issue