Skip to content

Conversation

@chriseth
Copy link
Contributor

Fixes #10067

cd $WORKSPACE

# shellcheck disable=SC2166
if [[ "$CIRCLE_BRANCH" == release -o -n "$CIRCLE_TAG" -o -n "$FORCE_RELEASE" -o "$(git tag --points-at HEAD 2>/dev/null)" == v* ]]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this work with these CIRCLE vars?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, on circleci. See also #10072

cd $WORKSPACE

# shellcheck disable=SC2166
if [[ "$CIRCLE_BRANCH" = release || -n "$CIRCLE_TAG" || -n "$FORCE_RELEASE" || "$(git tag --points-at HEAD 2>/dev/null)" == v* ]]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other scripts don't seem to have the git part. Why add here and not there?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took that from a third script, and I think it is a good idea so that it also works locally.

@chriseth chriseth merged commit 5857933 into develop Oct 19, 2020
@chriseth chriseth deleted the buildReleaseOnTags branch October 19, 2020 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

b_ems does not create release binary on circleci for tags

3 participants