Skip to content
Permalink
Browse files

ci(circleci): fix to make a release when the branch is `master`

Currently the variable is referring to `CIRCLE_TAG`, which is not correct. It should be
`CIRCLE_BRANCH` if we want to make a release on the `master` branch.

Signed-off-by: Taiga Nakayama <dora@dora-gt.jp>
  • Loading branch information
dora-gt committed Nov 22, 2019
1 parent eaa4efd commit 76fea26fb6b244ee9b56793e51a04e1a5409cf63
Showing with 1 addition and 1 deletion.
  1. +1 −1 .circleci/config.yml
@@ -246,7 +246,7 @@ jobs:
# latest release, only if on the master branch
# tag the current commit as (crate_name)-latest, and release it
if [ "${CIRCLE_TAG}" == "master" ]; then
if [ "${CIRCLE_BRANCH}" == "master" ]; then
tag_name="${crate_name}-latest"
LOG_DIR=logs/${tag_name} ./.circleci/release/github_tag.sh \
${tag_name} \

0 comments on commit 76fea26

Please sign in to comment.
You can’t perform that action at this time.