Changed how changelogs are fetched.
This commit is contained in:
parent
a2f031e757
commit
fab14f1f3f
5 changed files with 23 additions and 9 deletions
7
.github/workflows/build-docker-image.yml
vendored
7
.github/workflows/build-docker-image.yml
vendored
|
|
@ -25,6 +25,13 @@ jobs:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v3
|
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
|
- name: Docker Metadata action
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v4.3.0
|
uses: docker/metadata-action@v4.3.0
|
||||||
|
|
|
||||||
13
.github/workflows/build-release.yaml
vendored
13
.github/workflows/build-release.yaml
vendored
|
|
@ -20,11 +20,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Generate changelog
|
- name: Get latest release info
|
||||||
id: changelog
|
id: query-release-info
|
||||||
uses: mikepenz/release-changelog-builder-action@v5
|
uses: release-flow/keep-a-changelog-action@v2
|
||||||
env:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
command: query
|
||||||
|
version: ${{ github.ref_name }}
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
|
|
@ -63,7 +64,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ github.ref_name }}
|
tag_name: ${{ github.ref_name }}
|
||||||
name: ${{ github.ref_name }}
|
name: ${{ github.ref_name }}
|
||||||
body: ${{ steps.changelog.outputs.changelog }}
|
body: ${{ steps.query-release-info.outputs.release-notes }}
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
files: RealDebridClient.zip
|
files: RealDebridClient.zip
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased]
|
## [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
|
## [v2.0.105] - 2025-04-13
|
||||||
### Added
|
### Added
|
||||||
- Add feature to limit the amount of torrents that get sent to the provider at the same time.
|
- Add feature to limit the amount of torrents that get sent to the provider at the same time.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Moved the websocket update process to its own background thread to improve UI update consistency.
|
- Moved the websocket update process to its own background thread to improve UI update consistency.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,9 @@ COPY server ./server
|
||||||
RUN \
|
RUN \
|
||||||
echo "**** Building Source Code for $TARGETPLATFORM on $BUILDPLATFORM ****" && \
|
echo "**** Building Source Code for $TARGETPLATFORM on $BUILDPLATFORM ****" && \
|
||||||
cd server && \
|
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
|
# Stage 3 - Build runtime image
|
||||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.20
|
FROM ghcr.io/linuxserver/baseimage-alpine:3.20
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,8 @@
|
||||||
<TargetFramework>net9.0</TargetFramework>
|
<TargetFramework>net9.0</TargetFramework>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<UserSecretsId>94c24cba-f03f-4453-a671-3640b517c573</UserSecretsId>
|
<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>
|
<Nullable>enable</Nullable>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<LangVersion>latest</LangVersion>
|
<LangVersion>latest</LangVersion>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue