ci-environment

Detect CI Environment from environment variables

MIT License

Downloads
4.8M
Stars
9
Committers
20

Bot releases are visible (Hide)

ci-environment - v10.0.1 Latest Release

Published by github-actions[bot] 9 months ago

Added

  • [Python] added release workflow to release to Pypi (#245)
ci-environment - v10.0.0

Published by github-actions[bot] 11 months ago

Added

  • [Python] added ci-environment implementation in Python
  • [Ruby] Initial rubocop configuration added (#228)

Changed

  • [Ruby] Minimum ruby version is now 2.6 (#228)
ci-environment - v9.2.0

Published by github-actions[bot] over 1 year ago

Added

ci-environment - v9.1.0

Published by github-actions[bot] about 2 years ago

Added

  • [Go] added ci-environment implementation in Go

Fixed

  • [Java] Escape regex replacement patterns in environment variables (#156, #157)
ci-environment - v9.0.4

Published by github-actions[bot] over 2 years ago

Fixed

  • [Java] Make DetectCiEnvironment.detectCiEnvironment public
ci-environment - v9.0.3

Published by github-actions[bot] over 2 years ago

Fixed

  • Handle GitHub Action opened as well as synchronize event (and any other pull_request event with .pull_request.head.sha in the event payload) (#86, #87)
ci-environment - v9.0.2

Published by github-actions[bot] over 2 years ago

Fixed

  • Correctly determine GitHub branch from GITHUB_HEAD_REF instead of GITHUB_REF (#85)
  • Better error message if revision cannot be determined from GitHub pull request (#85)
ci-environment - v9.0.1

Published by github-actions[bot] over 2 years ago

Fixed

  • Provide correct SHA for GitHub Actions (#67, #69)
ci-environment - v9.0.0

Published by github-actions[bot] over 2 years ago

Added

  • [JavaScript] export Env, Git, CiEnvironment and CiEnvironments types

Changed

  • [JavaScript] make buildNumber optional (#51)
  • [Java] use Optional<T> for optional values (#50)
ci-environment - v8.1.0

Published by github-actions[bot] almost 3 years ago

Added

  • [JavaScript] - package as hybrid esm/commonjs module (#47)
ci-environment - v8.0.1

Published by github-actions[bot] almost 3 years ago

Fixed

  • [Ruby] detect_ci_environment was not returning nil if no CI had been detected
ci-environment - v8.0.0

Published by github-actions[bot] almost 3 years ago

Changed

  • Make git optional, make git.revision and git.remote mandatory (#37)
ci-environment - v7.0.1

Published by github-actions[bot] almost 3 years ago

Fixed

  • Fix Ruby release
ci-environment - v7.0.0

Published by github-actions[bot] almost 3 years ago

Changed

  • This library has been renamed to ci-environment and no longer depends on Cucumber messages.
    (PR#34)
ci-environment - v6.0.4

Published by github-actions[bot] almost 3 years ago

Fixed

ci-environment - v6.0.3

Published by github-actions[bot] almost 3 years ago

Fixed

  • [JavaScript] Removed tag property from git object if it is undefined
    (PR#4)
Package Rankings
Top 38.06% on Pypi.org
Top 6.16% on Proxy.golang.org
Top 6.82% on Rubygems.org
Top 26.48% on Repo1.maven.org
Top 3.84% on Npmjs.org
Badges
Extracted from project README
test-java test-javascript test-ruby test-go