-
-
Notifications
You must be signed in to change notification settings - Fork 104
Release a new version
Daniel Tischner edited this page Dec 10, 2021
·
9 revisions
Thanks to a rich pipeline, releasing a new version of the bot is fairly simple.
It mainly consists of simply pushing develop over on master, creating an annotated tag for the release and possibly adjusting the configuration and the Discord environment, thats it.
- Determine the next release version (for example
v1.2.3) - Create a PR to merge
developintomaster, call it for exampkeRelease 1.2.3and tag it asrelease - Ignore the PR and
rebasemasterdirectly ontodevelop, thenforce-push. As a result,masteranddevelopare fully identical
3.1. The PR should now automatically be marked as merged by GitHub 3.2. In the meantime, the pipeline automatically started deploying the new version to the server - Create and push an annotated tag like
v1.2.3with a short release description from the state ofmaster
4.1. The pipeline will now create a new release on GitHub 4.2. Once the release has been created, you can adjust and beautify the description, see releases - In case the configuration (
config.json) changed, make sure to update it; see Edit the Config - In case the new version requires changes on Discord, such as other permissions, new channels or roles, make sure to update them as well
- Verify that the bot works as expected
7.1. Try/pingand see if you get a response 7.2. Maybe chech the logs to see if any error pops up, see View the logs