Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Determine the correct branch as an env var #246

Merged
merged 2 commits into from
Mar 29, 2024
Merged

Determine the correct branch as an env var #246

merged 2 commits into from
Mar 29, 2024

Conversation

mvandeberg
Copy link
Member

Brief description

TRAVIS_BRANCH can be set to the branch name, or a tag. This causes an error when updating the npm version because travis attempts to push the version update to the tag branch, not master.

This can be seen in CI logs, but also in the koinos-proto-as repos where they have the correct tags, with the correct versions. But all tags are detached heads and were never pushed to master.

Checklist

  • I have built this pull request locally
  • I have ran the unit tests locally
  • I have manually tested this pull request
  • I have reviewed my pull request
  • I have added any relevant tests

Demonstration

@mvandeberg mvandeberg requested a review from sgerbino March 29, 2024 15:50
@sgerbino sgerbino merged commit aadfc55 into master Mar 29, 2024
1 check passed
@sgerbino sgerbino deleted the branch-env branch March 29, 2024 17:10
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.

2 participants