From 03a253fea7c59d5c8a31d1c3c8fb8edd3b3cb1bb Mon Sep 17 00:00:00 2001 From: conor-ob Date: Thu, 12 Dec 2024 20:20:02 +0000 Subject: [PATCH] feat(core): Detect Railway release name --- packages/bundler-plugin-core/src/utils.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/bundler-plugin-core/src/utils.ts b/packages/bundler-plugin-core/src/utils.ts index 55a747fe..6e7a09b4 100644 --- a/packages/bundler-plugin-core/src/utils.ts +++ b/packages/bundler-plugin-core/src/utils.ts @@ -259,6 +259,8 @@ export function determineReleaseName(): string | undefined { process.env["HEROKU_TEST_RUN_COMMIT_VERSION"] || // Heroku #2 https://docs.sentry.io/product/integrations/deployment/heroku/#configure-releases process.env["HEROKU_SLUG_COMMIT"] || + // Railway - https://docs.railway.app/reference/variables#git-variables + process.env["RAILWAY_GIT_COMMIT_SHA"] || // Render - https://render.com/docs/environment-variables process.env["RENDER_GIT_COMMIT"] || // Semaphore CI - https://docs.semaphoreci.com/ci-cd-environment/environment-variables