To build a new release:
- Update CHANGELOG
- Bump versions in scripts/archlinux/PKGBUILD and aur/PKGBUILD
- Clean up: cd build/archlinux ; rm -rf * ; cd ../debian ; rm -rf * ; cd ../..
- Build packages: cd scripts; ./build.sh v4.8.6
- Install new package, reboot and test
- Build source: cd ..;rm -rf build/linux;cp -r build/linux-patched build/linux; cd build/linux; rm -rf .git; make clean ; rm .config ; ln -s ../../scripts/config .config
- Commit using "release 4.8-x" message: cd ../..;git add .; git commit -m "release v4.8-6"
- Push: git push origin master
- Tag with version "v4.8-x": git tag "v4.8-6"; git push origin "v4.8-6"
- Create release in Github using tag
- Build AUR package: cd aur;./update.sh
- Push AUR package, install it and test: cd linux-samus4; rm v4*.tar.gz; git add .; git commit -m "release v4.8-6"; git push origin master
- Update aur/PKGBUILD with new SHAs: cat PKGBUILD # copy SHAs; cd ..; vi PKGBUILD # replace SHAs
- Update version in README, push to master: cd ..; vi README; git add .; git commit -m "release v4.8-6"; git push origin master