Skip to content

avoid publishing binaries on git tags #108

Description

@mapsam

If you release a new version of a node-cpp-skel library, and use the same commit to build a git tag, it's likely travis will run two jobs and try to build binaries for both jobs. This leads to failing tests based on which jobs can publish binaries first. Workflow:

  • update package.json and commit to master with the following commit (example version) 0.3.3 [publish binary]
  • this kicks off a travis job on the master branch
  • immediately after pushing to master, run git tag -v v0.3.3 -m 'v0.3.3' and git push --tags
  • this kicks off another travis job based on the tag, but uses the most recent commit message which is 0.3.3 [publish binary]
  • this means there are two jobs running with the same publish binary message, and each individual matrix will either pass or fail depending on whether the other job has published binaries.

This isn't hyper critical, but makes tests fail.

cc @springmeyer @GretaCB

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions