From f87aef35996806abebe2665d3b3b337ba6c24c64 Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Wed, 15 Feb 2017 08:39:46 +0100 Subject: [PATCH] Added DEPLOY.md --- DEPLOY.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 DEPLOY.md diff --git a/DEPLOY.md b/DEPLOY.md new file mode 100644 index 0000000..ff313d9 --- /dev/null +++ b/DEPLOY.md @@ -0,0 +1,11 @@ +# Deploying a new version + +* Update the version in the Dockerfile to the coming version. +* Commit the new Dockerfile. +* Create a new tag for the new version: `git tag -a `. +* 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: -t fabianonline/telegram_backup:latest - < DOCKERFILE`. +* Push the docker image: `docker push fabianonline/telegram_backup`. +* Post a message into the telegram_backup users group.