Skip to content

Commit 3b09bfe

Browse files
authored
Merge pull request #2442 from devtron-labs/chore/fix-sentry-release-version
chore: fix issue with git hash in sentry release version
2 parents 7a31cda + d99c736 commit 3b09bfe

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* vivek@devtron.ai @vikramdevtron
1+
* @vivek-devtron @vikramdevtron

.github/workflows/sentry-source-map-upload.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- name: Set SENTRY_RELEASE_VERSION
3232
id: vars
33-
run: echo "SENTRY_RELEASE_VERSION=dashboard@$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
33+
run: echo "SENTRY_RELEASE_VERSION=dashboard@$(git rev-parse --short=9 HEAD)" >> $GITHUB_OUTPUT
3434

3535
- name: Create Sentry release
3636
uses: getsentry/action-release@v1

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ COPY tsconfig.json .
1414
COPY vite.config.mts .
1515
COPY . .
1616

17-
RUN echo `git rev-parse --short HEAD` > health.html
17+
RUN echo `git rev-parse --short=9 HEAD` > health.html
1818

1919
RUN echo "SENTRY_RELEASE_VERSION=dashboard@$(git rev-parse --short HEAD)" >> .env
2020

0 commit comments

Comments
 (0)