semantic-release / env-ci

Get environment variables exposed by CI services

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Netlify Support

rohit-gohri opened this issue ยท comments

Support Netlify

Documentation: https://docs.netlify.com/configure-builds/environment-variables/#git-metadata

Environment variables:

  • service detection: NETLIFY
  • Branch: BRANCH
  • Commit sha: COMMIT_REF
  • Is Pull request: PULL_REQUEST
  • Pull request: REVIEW_ID
  • Build number: BUILD_ID

Willing to create a PR if this sounds reasonable

๐ŸŽ‰ This issue has been resolved in version 5.2.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€