Skip to content

Commit

Permalink
post-release release.sh changes
Browse files Browse the repository at this point in the history
  • Loading branch information
stapelberg committed Nov 3, 2021
1 parent c6ea9bb commit 6fe3339
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

set -eu

export RELEASE_VERSION="4.19"
export PREVIOUS_VERSION="4.18.3"
export RELEASE_VERSION="4.20"
export PREVIOUS_VERSION="4.19.2"
export RELEASE_BRANCH="next"

if [ ! -e "../i3.github.io" ]
Expand Down Expand Up @@ -37,8 +37,8 @@ STARTDIR=$PWD

TMPDIR=$(mktemp -d)
cd $TMPDIR
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)."
if ! wget https://i3wm.org/downloads/i3-${PREVIOUS_VERSION}.tar.xz; then
echo "Could not download i3-${PREVIOUS_VERSION}.tar.xz (required for comparing files)."
exit 1
fi
git clone --quiet --branch "${RELEASE_BRANCH}" https://github.com/i3/i3
Expand Down Expand Up @@ -100,6 +100,11 @@ git config --add remote.origin.push "+refs/heads/stable:refs/heads/stable"
cd "${TMPDIR}"
mkdir debian

# Copy over the changelog because we expect it to be locally modified in the
# start directory.
cp "${STARTDIR}/debian/changelog" i3/debian/changelog
(cd i3 && git add debian/changelog && git commit -m 'Update debian/changelog')

cat > ${TMPDIR}/Dockerfile <<EOT
FROM debian:sid
RUN sed -i 's,^deb \(.*\),deb \1\ndeb-src \1,g' /etc/apt/sources.list
Expand Down

0 comments on commit 6fe3339

Please sign in to comment.