ome / ome-model

OME model (specification, code generator, implementation)
Other
13 stars 26 forks source link

Convert Travis CI deployment into a build stage #124

Closed sbesson closed 3 years ago

sbesson commented 3 years ago

The switch to build stages in #120 has broken the logic of the deployment stage so that ome-model 6.2.0 was not automatically pushed to PyPI. This PR fixes the issue by moving the deployment to a dedicated build stage only executed on tags - see https://docs.travis-ci.com/user/build-stages/#build-stages-and-deployments

This re-uses most of the logic already implemented in https://github.com/ome/ome-zarr-py/blob/master/.travis.yml. https://travis-ci.org/github/sbesson/ome-model/jobs/727818756 also tests the conditional deployment logic (which failed due to the absence of credentials as expected)

Proposed tag 6.2.1