Skip to content

Commit bd3e31f

Browse files
authored
feat(core): Detect Railway release name (#639)
1 parent 456ff2e commit bd3e31f

File tree

1 file changed

+2
-0
lines changed
  • packages/bundler-plugin-core/src

1 file changed

+2
-0
lines changed

packages/bundler-plugin-core/src/utils.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@ export function determineReleaseName(): string | undefined {
259259
process.env["HEROKU_TEST_RUN_COMMIT_VERSION"] ||
260260
// Heroku #2 https://docs.sentry.io/product/integrations/deployment/heroku/#configure-releases
261261
process.env["HEROKU_SLUG_COMMIT"] ||
262+
// Railway - https://docs.railway.app/reference/variables#git-variables
263+
process.env["RAILWAY_GIT_COMMIT_SHA"] ||
262264
// Render - https://render.com/docs/environment-variables
263265
process.env["RENDER_GIT_COMMIT"] ||
264266
// Semaphore CI - https://docs.semaphoreci.com/ci-cd-environment/environment-variables

0 commit comments

Comments
 (0)