Skip to content

Commit

Permalink
release script will create tag on github
Browse files Browse the repository at this point in the history
Signed-off-by: Vitalii Parfonov <[email protected]>
  • Loading branch information
vparfonov committed Aug 14, 2019
1 parent 2f6741a commit 9467b77
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,16 @@ NC='\033[0m'
CHE_MACHINE_EXEC_IMAGE=eclipse/che-machine-exec:${DOCKER_IMAGE_TAG}
DEV_CHE_MACHINE_EXEC_IMAGE=eclipse/che-machine-exec-dev:${DOCKER_IMAGE_TAG}

# checkout to new tag
# checkout to release branch
git checkout $RELEASE_BRANCH

# create and push new tag
git tag $GITHUB_TAG
git push origin $GITHUB_TAG

# checkout to new tag
git checkout $GITHUB_TAG

docker login -u ${DOCKER_HUB_LOGIN} -p ${DOCKER_HUB_PASSWORD}

# Build images.
Expand Down

0 comments on commit 9467b77

Please sign in to comment.