diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml
index b230501..1d23c3a 100644
--- a/.github/workflows/build-docker-image.yml
+++ b/.github/workflows/build-docker-image.yml
@@ -25,6 +25,13 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v3
+ - name: Extract version and patch .csproj
+ run: |
+ VERSION="${GITHUB_REF_NAME#v}"
+ echo "VERSION=$VERSION" >> "$GITHUB_ENV"
+ sed -i "s|.*|$VERSION|" server/RdtClient.Web/RdtClient.Web.csproj
+ sed -i "s|.*|$VERSION|" server/RdtClient.Web/RdtClient.Web.csproj
+
- name: Docker Metadata action
id: meta
uses: docker/metadata-action@v4.3.0
diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml
index 3cd742d..2e64df0 100644
--- a/.github/workflows/build-release.yaml
+++ b/.github/workflows/build-release.yaml
@@ -20,11 +20,12 @@ jobs:
with:
fetch-depth: 0
- - name: Generate changelog
- id: changelog
- uses: mikepenz/release-changelog-builder-action@v5
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ - name: Get latest release info
+ id: query-release-info
+ uses: release-flow/keep-a-changelog-action@v2
+ with:
+ command: query
+ version: ${{ github.ref_name }}
- name: Setup Node.js
uses: actions/setup-node@v4
@@ -63,7 +64,7 @@ jobs:
with:
tag_name: ${{ github.ref_name }}
name: ${{ github.ref_name }}
- body: ${{ steps.changelog.outputs.changelog }}
+ body: ${{ steps.query-release-info.outputs.release-notes }}
draft: false
prerelease: false
files: RealDebridClient.zip
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 50edb42..55c0648 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,10 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+## [v2.0.106] - 2025-04-13
+### Fixed
+- Changed how the GitHub release is created and how the changelog is generated.
+
## [v2.0.105] - 2025-04-13
### Added
- Add feature to limit the amount of torrents that get sent to the provider at the same time.
-
### Fixed
- Moved the websocket update process to its own background thread to improve UI update consistency.
diff --git a/Dockerfile b/Dockerfile
index 0449b88..ab55018 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -34,7 +34,9 @@ COPY server ./server
RUN \
echo "**** Building Source Code for $TARGETPLATFORM on $BUILDPLATFORM ****" && \
cd server && \
- dotnet restore --no-cache RdtClient.sln && dotnet publish --no-restore -c Release -o out ;
+ dotnet restore --no-cache RdtClient.sln && \
+ dotnet test \
+ dotnet publish --no-restore -c Release -o out ;
# Stage 3 - Build runtime image
FROM ghcr.io/linuxserver/baseimage-alpine:3.20
diff --git a/server/RdtClient.Web/RdtClient.Web.csproj b/server/RdtClient.Web/RdtClient.Web.csproj
index eb94863..42eb3fb 100644
--- a/server/RdtClient.Web/RdtClient.Web.csproj
+++ b/server/RdtClient.Web/RdtClient.Web.csproj
@@ -4,7 +4,8 @@
net9.0
Exe
94c24cba-f03f-4453-a671-3640b517c573
- 2.0.104
+ 1.0.0
+ 1.0.0
enable
enable
latest