To create new wiki account, please join us on #znc at Libera.Chat and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.
HowToRelease: Difference between revisions
Jump to navigation
Jump to search
DarthGandalf (talk | contribs) |
DarthGandalf (talk | contribs) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
# Move [[ChangeLog/git]] and create that page again. | # Move [[ChangeLog/git]] and create that page again. | ||
=== To release RC1 === | === To release RC1 === | ||
# Update version number in CMakeLists.txt | # Update version number in CMakeLists.txt | ||
# (if minor version) make a new branch 1.7.1 from 1.7.x | |||
# commit with message ZNC 1.7.1-rc1. | |||
#* Example: https://github.com/znc/znc/commit/9e4d89aaa4e2b6e5c79600b93665c1c0e0bb5255 | #* Example: https://github.com/znc/znc/commit/9e4d89aaa4e2b6e5c79600b93665c1c0e0bb5255 | ||
# | # Run <code>./make-tarball.sh 1.7.1-rc1</code> | ||
# Test the tarball, publish it. | # Test the tarball, publish it. | ||
# Tag the last commit with znc-1.7.1-rc1 (but without annotated tag), push commit and tag to github. | # Tag the last commit with znc-1.7.1-rc1 (but without annotated tag), push commit and tag to github. | ||
Line 13: | Line 15: | ||
=== Release, release, release === | === Release, release, release === | ||
# git pull!!!! | # git pull!!!! | ||
# Update version number in configure.ac and version.h | # Update version number in CMakeLists.txt, configure.ac and version.h | ||
#* Example: https://github.com/znc/znc/commit/c426898b3a1b899dfe8a8b2a3eeb4b18d8be1bf2 | #* Example: https://github.com/znc/znc/commit/c426898b3a1b899dfe8a8b2a3eeb4b18d8be1bf2 | ||
# Update <code>ChangeLog.md</code> based on [[ChangeLog/git]] | # Update <code>ChangeLog.md</code> based on [[ChangeLog/git]] | ||
Line 24: | Line 25: | ||
## git push --tags | ## git push --tags | ||
# Merge 1.7.1 to 1.7.x, delete branch 1.7.1 | # Merge 1.7.1 to 1.7.x, delete branch 1.7.1 | ||
# (If minor release?) Revert changes to version.h and configure.ac | # (If minor release?) Revert changes to CMakeLists.txt, version.h and configure.ac | ||
#* Example: https://github.com/znc/znc/commit/bae80fd383fa9d75bcc4e891d79248363a6d1d24 | #* Example: https://github.com/znc/znc/commit/bae80fd383fa9d75bcc4e891d79248363a6d1d24 | ||
# (If major release?) Bump version number to foo+1. (Commit msg: "Increase the version number to foo+1") | # (If major release?) Bump version number to foo+1. (Commit msg: "Increase the version number to foo+1") | ||
# Update the wiki | # Update the wiki | ||
## Update [[:Template:ZNC-Version]]. | ## Update [[:Template:ZNC-Version]]. | ||
## Clear [[:Template:ZNC-Version-Alpha]]. | ## Clear [[:Template:ZNC-Version-Alpha]]. |
Latest revision as of 01:16, 10 February 2024
Preparation
- Check todo lists and bug trackers.
- Update Template:ZNC-Versions.
- Prepare ChangeLog/git, let everyone check it.
- Move ChangeLog/git and create that page again.
To release RC1
- Update version number in CMakeLists.txt
- (if minor version) make a new branch 1.7.1 from 1.7.x
- commit with message ZNC 1.7.1-rc1.
- Run
./make-tarball.sh 1.7.1-rc1
- Test the tarball, publish it.
- Tag the last commit with znc-1.7.1-rc1 (but without annotated tag), push commit and tag to github.
- Set Template:ZNC-Version-Alpha to 1.7.1-rc1
Release, release, release
- git pull!!!!
- Update version number in CMakeLists.txt, configure.ac and version.h
- Update
ChangeLog.md
based on ChangeLog/git - Commit ("Increase the version number to 1.7.1")
- Create tarball (make-tarball.sh 1.7.1)
- Tag the new version in git (Use the changelog as msg, first line is "ZNC 1.7.1")
- git tag -s znc-1.7.1 HEAD
- git push --tags
- Merge 1.7.1 to 1.7.x, delete branch 1.7.1
- (If minor release?) Revert changes to CMakeLists.txt, version.h and configure.ac
- (If major release?) Bump version number to foo+1. (Commit msg: "Increase the version number to foo+1")
- Update the wiki
- Update Template:ZNC-Version.
- Clear Template:ZNC-Version-Alpha.
- Upload the release files to znc.in/.
- Accessible as /srv/znc.in/www/htdocs/ on harpy.
- The files have to be chgrp's to user group
znc
!!! - The files themselves go directly into
archive/
- The main dir only gets symlinks
- Write
znc-1.7.1-changelog.txt
- Update version number on Wikipedia.
- Update topic on freenode channel
- Update cygwin package using https://github.com/znc/znc-cygwin
- Update docker image using https://github.com/znc/znc-docker and https://github.com/docker-library/official-images