Skip to content

Commit 53bc3dc

Browse files
committed
.
1 parent fc1c0e7 commit 53bc3dc

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

.github/workflows/docker-image.yml

+4-13
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ jobs:
3535
id: version
3636
run: |
3737
VERSION=${GITHUB_REF#refs/tags/v}
38-
echo "VERSION=1" >> $GITHUB_ENV
38+
echo "VERSION=1.2" >> $GITHUB_ENV
3939
echo "MAJOR=1" >> $GITHUB_ENV
40-
echo "MINOR=1" >> $GITHUB_ENV
40+
echo "MINOR=2" >> $GITHUB_ENV
4141
4242
- name: Build and Push Docker Image with Multiple Tags and Architectures
4343
uses: docker/build-push-action@v4
@@ -66,28 +66,19 @@ jobs:
6666
# Associate the release with Sentry
6767
sentry-cli releases new "$RELEASE"
6868
69-
# Upload client sourcemaps
70-
sentry-cli releases files "$RELEASE" upload-sourcemaps /sourcemaps-client \
69+
# Upload server sourcemaps
70+
sentry-cli releases files "$RELEASE" upload-sourcemaps /sourcemaps-server \
7171
--rewrite --url-prefix "~/assets" --validate
7272
73-
# Finalize the release
74-
sentry-cli releases finalize "$RELEASE"
75-
7673
- name: Upload frontend sourcemaps to Sentry
7774
env:
7875
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
7976
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
8077
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT_FRONTEND }}
8178
run: |
82-
# Install Sentry CLI
83-
curl -sL https://sentry.io/get-cli/ | bash
84-
8579
# Define the release version
8680
RELEASE="react-nestjs-boilerplate@${{ env.VERSION }}"
8781
88-
# Associate the release with Sentry
89-
sentry-cli releases new "$RELEASE"
90-
9182
# Upload client sourcemaps
9283
sentry-cli releases files "$RELEASE" upload-sourcemaps /sourcemaps-client \
9384
--rewrite --url-prefix "~/assets" --validate

0 commit comments

Comments
 (0)