From 0a0f1ea10a14a77c655e27931476656e3d056ec9 Mon Sep 17 00:00:00 2001 From: Marek Lesko Date: Mon, 14 Jul 2025 19:14:10 +0000 Subject: [PATCH 1/3] fix: Dev --- .releaserc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.releaserc.json b/.releaserc.json index 2e59c70..089d51d 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -11,7 +11,7 @@ "@semantic-release/gitlab" ], "assets": [ - { "path": "dist.zip", "label": "bundle" }, + { "path": "dist.zip", "label": "Web.zip" }, { "url": "https://gitlab.lesko.me/marek/centrum/-/blob/main/README.md", "label": "README.md" } ] } From 57b35ae4316e9957f62718f2d03de7ab3616814e Mon Sep 17 00:00:00 2001 From: Marek Lesko Date: Tue, 15 Jul 2025 18:13:05 +0000 Subject: [PATCH 2/3] fix: Update .gitlab-ci.yml file --- .gitlab-ci.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b6fce1a..f384ae2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ stages: # Define the stages of the pipeline. #- test - release -install-job: # This job runs in the build stage, which runs first. +web-build: # This job runs in the build stage, which runs first. stage: build image: node:24 script: @@ -15,12 +15,26 @@ install-job: # This job runs in the build stage, which runs first. paths: - Web/dist/Web/browser # The 'dist' directory will be available in the next stage. +api-build: + stage: build + image: mcr.microsoft.com/dotnet/sdk:8.0 + script: + - cd Api + - dotnet build Api.csproj --output ./build --runtime linux-x64 + artifacts: + paths: + - Api/build + when: on_success + access: all + expire_in: 30 days + semantic-release: image: node:24 stage: release script: - apt update && apt install zip -y - zip -r dist.zip Web/dist/Web/browser + - zip -r api.zip Api/build - npm install --save-dev @semantic-release/gitlab - npx semantic-release --debug only: From 6a1dc75b3b72b9b12d7ad9eacbfd1feb838aae2d Mon Sep 17 00:00:00 2001 From: Marek Lesko Date: Tue, 15 Jul 2025 18:15:12 +0000 Subject: [PATCH 3/3] fix: Update .gitlab-ci.yml file --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f384ae2..c58ce84 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,6 +19,7 @@ api-build: stage: build image: mcr.microsoft.com/dotnet/sdk:8.0 script: + - ls -halt - cd Api - dotnet build Api.csproj --output ./build --runtime linux-x64 artifacts: