Changed how changelogs are fetched.

This commit is contained in:
Roger Far 2025-04-13 10:39:14 -06:00
parent a2f031e757
commit fab14f1f3f
5 changed files with 23 additions and 9 deletions

View file

@ -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>.*</Version>|<Version>$VERSION</Version>|" server/RdtClient.Web/RdtClient.Web.csproj
sed -i "s|<AssemblyVersion>.*</AssemblyVersion>|<AssemblyVersion>$VERSION</AssemblyVersion>|" server/RdtClient.Web/RdtClient.Web.csproj
- name: Docker Metadata action
id: meta
uses: docker/metadata-action@v4.3.0

View file

@ -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

View file

@ -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.

View file

@ -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

View file

@ -4,7 +4,8 @@
<TargetFramework>net9.0</TargetFramework>
<OutputType>Exe</OutputType>
<UserSecretsId>94c24cba-f03f-4453-a671-3640b517c573</UserSecretsId>
<Version>2.0.104</Version>
<Version>1.0.0</Version>
<AssemblyVersion>1.0.0</AssemblyVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>latest</LangVersion>