koinos / koinos-proto

Official home of the Koinos Protobuf schema. Koinos data types are defined here and generated in a variety of supported languages.
MIT License
4 stars 7 forks source link

Determine the correct branch as an env var #246

Closed mvandeberg closed 6 months ago

mvandeberg commented 6 months ago

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

Demonstration