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

[BUG]: Tagging dependent repos not working #219

Closed mvandeberg closed 6 months ago

mvandeberg commented 6 months ago

Is there an existing issue for this?

Current behavior

When tagging v1.4.0, proto-cpp could not be tagged. https://app.travis-ci.com/github/koinos/koinos-proto/jobs/619219269

The error is: error: src refspec v1.4.0 matches more than one

It appears these lines:

    if [ "${TRAVIS_BRANCH}" != "master" ]; then
      git checkout -b ${TRAVIS_BRANCH}
    fi

Are checking out v1.4.0 as a branch name, which should not be done when we are tagging a release.

Then, when the tag is pushed, git cannot differentiate between the v1.4.0 branch and tag.

Expected behavior

No response

Steps to reproduce

No response

Environment

- OS:

Anything else?

No response