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