chore: use version tag as release title

This commit is contained in:
lzstealth committed 2026-10-18 16:49:09 +01:00
1 parent 2af31a09a9
commit 0cc2e4f71a
1 file changed
+2 -2
+2 -2
View File
@@ -79,7 +79,7 @@ jobs:
uses: softprops/action-gh-release@v3 uses: softprops/action-gh-release@v3
with: with:
tag_name: ${{ github.ref_name }} tag_name: ${{ github.ref_name }}
name: gSheets-Rate-Assistant ${{ github.ref_name }} name: ${{ github.ref_name }}
body_path: release-notes.md body_path: release-notes.md
files: dist/*.exe files: dist/*.exe
@@ -104,7 +104,7 @@ jobs:
raise SystemExit(0) raise SystemExit(0)
tag = os.environ["BUILD_VERSION"] tag = os.environ["BUILD_VERSION"]
release_name = f"gSheets-Rate-Assistant {tag}" release_name = tag
asset_path = next((os.path.join("dist", name) for name in os.listdir("dist") if name.endswith(".exe")), None) asset_path = next((os.path.join("dist", name) for name in os.listdir("dist") if name.endswith(".exe")), None)
with open("release-notes.md", "r", encoding="utf-8") as notes_file: with open("release-notes.md", "r", encoding="utf-8") as notes_file:
release_notes = notes_file.read() release_notes = notes_file.read()