Created
April 12, 2019 09:11
-
-
Save chmouel/a29c7e7058f27e06627d98a7d5df6463 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PERSONAL_GIT_REMOTE=chmouel # usually your github username | |
RELEASE_VERSION=${1:-v0.2.0} # Tekton latest release from where you are going to release from | |
# detect current branch | |
currentb=$(git rev-parse --abbrev-ref HEAD) | |
# Push current branch to your user | |
git push ${PERSONAL_GIT_REMOTE} -u ${currentb} | |
hub pull-request -p --base openshift/tektoncd-pipeline:release-${RELEASE_VERSION} --head ${PERSONAL_GIT_REMOTE}:${currentb} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment