un-ts / changesets-gitlab

GitLab CI cli for changesets like its GitHub Action.
https://opencollective.com/unts/projects/changesets-gitlab
MIT License
89 stars 34 forks source link

v0.11.1 includes breaking change for environment variables #146

Closed vinnymac closed 10 months ago

vinnymac commented 10 months ago

The upgrade from 0.11.0 to 0.11.1 broke some environment variable usage.

For example, previously the host would fallback to process.env.CI_SERVER_URL, but with this latest update I receive 401 unauthorized because I rely on the built-in gitlab CI CI_SERVER_URL environment variable instead of the explicit GITLAB_HOST environment variable this CLI is looking for.

For more information on CI_SERVER_URL see https://docs.gitlab.com/ee/ci/variables/predefined_variables.html