Skip to content

Commit

Permalink
Merge pull request kubevirt#2616 from kubevirt-bot/cherry-pick-2592-t…
Browse files Browse the repository at this point in the history
…o-release-0.20

[release-0.20] Fixed release process
  • Loading branch information
slintes authored Aug 20, 2019
2 parents 66b9b3e + 73b4e93 commit eb1308c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ deploy:
- provider: script
script: docker login -u="$DOCKER_USER" -p="$DOCKER_PASS" && DOCKER_PREFIX="index.docker.io/kubevirt"
DOCKER_TAG="$TRAVIS_TAG" QUAY_REPOSITORY="kubevirt" PACKAGE_NAME="kubevirt-operatorhub"
sh -c 'make bazel-push-images && make manifests && make olm-push'
sh -c 'make bazel-push-images && make manifests'
skip_cleanup: true
file:
on:
Expand Down Expand Up @@ -101,6 +101,12 @@ deploy:
script: hack/publish-staging.sh
on:
branch: master
- provider: script
script: DOCKER_TAG="$TRAVIS_TAG" QUAY_REPOSITORY="kubevirt" PACKAGE_NAME="kubevirt-operatorhub" make olm-push
skip_cleanup: true
file:
on:
tags: true

env:
global:
Expand Down
2 changes: 1 addition & 1 deletion hack/publish-staging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ git clone \
"https://${API_REFERENCE_PUSH_TOKEN}@${GITHUB_FQDN}/${API_REF_REPO}.git" \
"${API_REF_DIR}" >/dev/null 2>&1
pushd ${API_REF_DIR}
git checkout -B ${TARGET_BRANCH}
git checkout -B ${TARGET_BRANCH}-local
git rm -rf .
git clean -fxd
popd
Expand Down

0 comments on commit eb1308c

Please sign in to comment.