From b2f065e5fa22745d78b4f610acc9c0fe194a0299 Mon Sep 17 00:00:00 2001 From: Pedro Cunha Date: Mon, 16 Oct 2017 14:18:48 +0100 Subject: [PATCH] Release instructions --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 76385cd..195dc14 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,8 @@ You will need create a `$HOME/.paddle.yaml` that contains the bucket name, e.g: bucket: roo-bucket ``` +or if you prefer specific `BUCKET` as an environment variable + You will also need to create a `$HOME/.aws/config` or `$HOME/.aws/credentials` so Paddle can connect to AWS, e.g.: ``` @@ -31,11 +33,20 @@ aws_secret_access_key=yyy region=eu-west-1 ``` - ``` $ go build ``` +## Release + +In order to release a new version, set up github export GITHUB_TOKEN=[YOUR_TOKEN] and do the following steps: + +``` +$ git tag -a vX.X.X -m "[Comment]" +$ git push origin vX.X.X +$ goreleaser +``` + ## Usage ```