Skip to content

Commit

Permalink
Merge release commit into master (#39)
Browse files Browse the repository at this point in the history
* Merge release commit into master

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Only publish images under specific situations

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
  • Loading branch information
jpkrohling authored Sep 21, 2018
1 parent f8c1af1 commit 6883c81
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ go:
stages:
- name: build
- name: deploy
if: type != pull_request
# only deploy if:
## we are not in a PR
## tag is blank (ie, master or any other branch)
## tag is a release tag (release/v1.6.1, which is the release build)
if: (type != pull_request) AND ((tag IS blank) OR (tag =~ /^release\/v.[\d\.]+(\-.*)?$/))

jobs:
include:
Expand Down
5 changes: 5 additions & 0 deletions .travis/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,9 @@ else
git commit -qm "Release ${TAG}" --author="Jaeger Release <jaeger-release@jaegertracing.io>"
git tag ${TAG}
git push --tags --repo=https://${GH_WRITE_TOKEN}@github.com/jaegertracing/jaeger-operator.git

## release commit should reach master!
git checkout master
git merge ${TAG}
git push --repo=https://${GH_WRITE_TOKEN}@github.com/jaegertracing/jaeger-operator.git
fi
3 changes: 2 additions & 1 deletion RELEASE.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
1. Tag and push
git tag release/1.6.1
git checkout master ## it's only possible to release from master for now!
git tag release/v1.6.1
git push git@github.com:jaegertracing/jaeger-operator.git release/v1.6.1

0 comments on commit 6883c81

Please sign in to comment.