Skip to content
mmd edited this page Jun 1, 2019 · 13 revisions

🐛 Fix a bug or create a new feature

  • Create a new branch

git checkout -b patch/issue_1234

  • Do the necessary code changes

  • Build and run unit tests

make V=0 -j7
make check
  • Commit changes

  • Upload branch

git push origin patch/issue_1234

  • Create a Pull request on GitHub, discuss changes

  • Merge Pull Request into master

🚀 Preparing a new release

  • Check out master branch

  • git pull

  • Edit configure.ac, change version number

  • Create new commit "Bump version to 0.x.x" (see git log)

  • Push to GitHub

git push origin master

  • Checkout ubuntu/bionic branch

  • Merge master branch

  • Add new version to debian/changlog

  • Commit change

  • Push ubuntu/bionic branch to gitub

Publishing on Ubuntu Launchpad

  • Create tar ball

tar cvfj openstreetmap-cgimap_0.7.4.orig.tar.bz2 --exclude .git openstreetmap-cgimap

  • Go to openstreetmap-cgimap directory

  • Sign

debuild -kPGP_KEY -S -sa

  • Push to launchpad

dput ppa:mmd-osm/cgimap openstreetmap-cgimap_0.7.4-1~bionic1_source.changes

Publishing on GitHub

  • Tag the new version

Example:

(checkout master branch first)

git tag v0.7.4

  • Upload tag to GitHub

git push origin v0.7.4

  • Based on the new tag, create a new release on GitHub

https://github.com/zerebubuth/openstreetmap-cgimap/releases

Clone this wiki locally