on branch 'gh-pages': index.html
3. Run release script:
- $ re2c/release.sh <version>
+ $ ./release.sh <version>
4. Update version to .dev
+
+5. Attach tarball (built with release.sh) to autogenerated release on github
echo "usage: ./release.sh <version>"
exit 1
fi
+version="$1"
branch=`git rev-parse --abbrev-ref HEAD`
if [ $branch != "master" ]
exit 1
fi
-version="$1"
-
# edit version in re2c/configure.in
lcontext="AC_INIT\(\[re2c\],\["
rcontext="\],\[re2c-general@lists\.sourceforge\.net\]\)"
# distcheck
builddir=.build
-cd re2c && ./distcheck $builddir && cd ..
+cd re2c && ./distcheck.sh $builddir && cd ..
# commit release
git commit -a -m "Release $version."
# upload site
git checkout gh-pages
cp -f re2c/$builddir/doc/manual.html manual.html
- git add index.html manual.html
git commit -a -m "Updated site."
for r in `git remote`
do