This guide is intended for hooktftp maintainers. If you are not a maintainer, you probably want to check out the documentation instead.
You made some updates on hooktftp and want to release a new version for your users? Make sure to complete this todo list.
The debian/ directory is used to create a .deb package. Update the changelog, and test the package is still working with the following commands:
$> make shell
> apt-get install -y build-essential debhelper golang-go devscripts vim
> export EDITOR=vim
> export DEBFULLNAME='Julien Castets'
> export DEBEMAIL='[email protected]'
# To add new entries in changelog
> dch -a
# To make a release
> dch --release
> dpkg-buildpackage -us -uc
> cd ..
> dpkg -i hooktftp_.deb
Build and release the Docker image:
$> make release-docker-image
Ping @brmzkw on Github or send him an email at castets.j - at - gmail.com to ask him to make to release. If you want to do it by yourself, ask him to grant you the permissions to do so.
Create a git tag and push it:
$> git tag <version>
$> git push --tags
From the container:
# Increment version in debian/changelog
> dch -i
Edit VERSION file with the correct version.