Skip to content
Christian Mäder edited this page Nov 1, 2019 · 17 revisions
  1. Make sure you're on the master branch: git checkout master
  2. Make sure, that the branch is clean: git status should not show any pending change.
    1. Use git stash to stash them away for the release process.
  3. Merge any relevant feature into master.
    1. Create a new local branch: git checkout -b feature-name master
    2. Pull the remote change into the current branch: git pull https://github.com/other-user-or-org/netbox-docker.git remote-branch-name
    3. Check whether the build still works: ./build.sh
    4. Switch back to your master branch: git checkout master
    5. Merge the feature into the master branch: git merge --no-ff feature-name
    6. Clean up your local branches: git branch -d feature-name
  4. Put the new version into the VERSION file: echo "0.20.0" > VERSION
  5. Make a commit with the version file change: git commit -m "Preparation for $(cat VERSION)" VERSION
  6. Tag that commit: git tag "$(cat VERSION)"
  7. Push the features and the tag: git push --tags origin && git push origin
  8. Eventually unstash your previous work: git stash pop

Now go to Github and draft a new release. Copy the text from the most recent previous release and adjust it according to the new release.

Eventually announce the release on our Slack channel.

Clone this wiki locally