diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index afd552e..311e054 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -14,12 +14,9 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@v4
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v4
- with:
- dotnet-version: '9.0.x'
+ run: |
+ git clone "https://x-access-token:${{ github.token }}@github.com/${{ github.repository }}.git" .
+ git checkout ${{ github.event.pull_request.merge_commit_sha }}
- name: Extract version from csproj
id: version
@@ -61,14 +58,23 @@ jobs:
zip -j tokybay-linux-x64.zip linux-x64/*
zip -j tokybay-linux-arm64.zip linux-arm64/*
+ - name: Create and push version tag
+ run: |
+ git config user.name "github-actions"
+ git config user.email "github-actions@github.com"
+ git tag "v${{ steps.version.outputs.value }}"
+ git push "https://x-access-token:${{ github.token }}@github.com/${{ github.repository }}.git" "v${{ steps.version.outputs.value }}"
+
- name: Create GitHub Release
- uses: softprops/action-gh-release@v2
- with:
- tag_name: v${{ steps.version.outputs.value }}
- name: v${{ steps.version.outputs.value }}
- body: ${{ github.event.pull_request.body }}
- make_latest: true
- files: |
- publish/tokybay-win-x64.zip
- publish/tokybay-linux-x64.zip
+ env:
+ GH_TOKEN: ${{ github.token }}
+ PR_BODY: ${{ github.event.pull_request.body }}
+ run: |
+ printf '%s' "$PR_BODY" > release_notes.md
+ gh release create "v${{ steps.version.outputs.value }}" \
+ --title "v${{ steps.version.outputs.value }}" \
+ --notes-file release_notes.md \
+ --latest \
+ publish/tokybay-win-x64.zip \
+ publish/tokybay-linux-x64.zip \
publish/tokybay-linux-arm64.zip
diff --git a/README.md b/README.md
index 401c777..949825f 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,7 @@ Search & download audiobooks from multiple sites and convert them automatically
> This project is intended for educational purposes only. Please respect copyright laws and the terms of service of the respective websites.

+



diff --git a/TokyBay/TokyBay.csproj b/TokyBay/TokyBay.csproj
index f6627b6..f90b727 100644
--- a/TokyBay/TokyBay.csproj
+++ b/TokyBay/TokyBay.csproj
@@ -5,9 +5,9 @@
net9.0
enable
enable
- 0.5.2
- 0.5.2
- 0.5.2
+ 0.5.3
+ 0.5.3
+ 0.5.3