X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=release.sh;h=4dd027779ed03541710a0e3e055f929d23b7d827;hb=e89f39158974e4d68491a8dcd471f6ee70f5b46f;hp=16227111c4973e86e37d9790d128a167f7d6c28c;hpb=923a61ae37b2680e9560f83b12ba4c54273c80b1;p=i3%2Fi3 diff --git a/release.sh b/release.sh index 16227111..4dd02777 100755 --- a/release.sh +++ b/release.sh @@ -147,6 +147,7 @@ git add downloads/i3-${RELEASE_VERSION}.tar.bz2* cp ${TMPDIR}/i3/RELEASE-NOTES-${RELEASE_VERSION} downloads/RELEASE-NOTES-${RELEASE_VERSION}.txt git add downloads/RELEASE-NOTES-${RELEASE_VERSION}.txt sed -i "s,

Documentation for i3 v[^<]*

,

Documentation for i3 v${RELEASE_VERSION}

,g" docs/index.html +sed -i "s,Verify you are using i3 ≥ .*,Verify you are using i3 ≥ ${RELEASE_VERSION},g" docs/debugging.html sed -i "s,[^<]*,${RELEASE_VERSION},g" index.html sed -i "s,The current stable version is .*$,The current stable version is ${RELEASE_VERSION}.,g" downloads/index.html sed -i "s,,\n \n ${RELEASE_VERSION}\n i3-${RELEASE_VERSION}.tar.bz2\n $(ls -lh ../i3/i3-${RELEASE_VERSION}.tar.bz2 | awk -F " " {'print $5'} | sed 's/K$/ KiB/g')\n signature\n $(date +'%Y-%m-%d')\n release notes\n \n,g" downloads/index.html