mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 10:09:16 +02:00
Version bump and changelog for 0.21
This commit is contained in:
parent
de22fb79c6
commit
c0cbda9451
47 changed files with 304 additions and 199 deletions
|
@ -721,3 +721,48 @@ The latter is especially useful when you are debugging failing tests.
|
|||
.. note::
|
||||
|
||||
The front-end test suite coverage is still pretty low
|
||||
|
||||
|
||||
Making a release
|
||||
----------------
|
||||
|
||||
To make a new 3.4 release::
|
||||
|
||||
# setup
|
||||
export NEXT_RELEASE=3.4 # replace with the next release number
|
||||
export PREVIOUS_RELEASE=3.3 # replace with the previous release number
|
||||
|
||||
# ensure you have an up-to-date repo
|
||||
git checkout develop # use master if you're doing a hotfix release
|
||||
git pull
|
||||
|
||||
# compile changelog
|
||||
towncrier --version $NEXT_RELEASE --yes
|
||||
|
||||
# polish changelog
|
||||
# - update the date
|
||||
# - look for typos
|
||||
# - add list of contributors via `python3 scripts/get-contributions-stats.py develop $PREVIOUS_RELEASE`
|
||||
nano CHANGELOG
|
||||
|
||||
# Set the `__version__` variable to $NEXT_RELEASE
|
||||
nano nano api/funkwhale_api/__init__.py
|
||||
|
||||
# commit
|
||||
git add .
|
||||
git commit -m "Version bump and changelog for $NEXT_RELEASE"
|
||||
|
||||
# tag
|
||||
git tag $NEXT_RELEASE
|
||||
|
||||
# publish
|
||||
git push --tags && git push
|
||||
|
||||
# if you're doing a hotfix release from master
|
||||
git checkout develop && git merge master && git push
|
||||
|
||||
# if you're doing a non-hotfix release, and a real release (not a real release) from develop
|
||||
git checkout master && git merge develop && git push
|
||||
|
||||
Then, visit https://dev.funkwhale.audio/funkwhale/funkwhale/-/tags, copy-paste the changelog on the corresponding
|
||||
tag, and announce the good news ;)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue