1
0
mirror of https://github.com/fabianonline/telegram_backup.git synced 2024-12-13 01:27:19 +00:00
telegram_backup/DEPLOY.md

13 lines
757 B
Markdown
Raw Permalink Normal View History

2017-02-15 07:39:46 +00:00
# Deploying a new version
* Update the version in the Dockerfile to the coming version.
* Commit the new Dockerfile.
* Merge into stable: `git checkout stable && git merge --no-ff master`
2017-02-15 07:39:46 +00:00
* Create a new tag for the new version: `git tag -a <version>`.
* Push everything to github: `git push --all && git push --tags`.
* Build it: `gradle build`.
* Create a new release on github for this version. 'Release title' has to be just the version string. Attach the newly built `telegram-backup.jar`.
* Build the docker image: `docker build -t fabianonline/telegram_backup:<version> -t fabianonline/telegram_backup:latest - < DOCKERFILE`.
* Push the docker image: `docker push fabianonline/telegram_backup`.
* Post a message into the telegram_backup users group.