seafile-containerized/MAINT.md

978 B

For Project Maintainer: How to update seafile-docker when a new version is released

Imagine the previous version is 6.0.5 and we have released 6.0.7. Here are the steps to do the upgrade.

  • Switch to a branch "unstable"
git branch -f unstable origin/master
git checkout unstable
git push origin unstable:unstable
  • Create a tag "v6.0.7" and push it to github. Wait for travis ci to finish: this time it would push the image seafileltd/seafile:6.0.7 to docker hub since it's triggered by a tag.
git tag v6.0.7
git push origin v6.0.7
git push origin unstable:master
  • Delete the unstable branch
git push origin :unstable