diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index c17182f..8854d61 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -79,7 +79,7 @@ jobs: uses: softprops/action-gh-release@v3 with: tag_name: ${{ github.ref_name }} - name: gSheets-Rate-Assistant ${{ github.ref_name }} + name: ${{ github.ref_name }} body_path: release-notes.md files: dist/*.exe @@ -104,7 +104,7 @@ jobs: raise SystemExit(0) 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) with open("release-notes.md", "r", encoding="utf-8") as notes_file: release_notes = notes_file.read()