From 92b4f6ff0c45e5803cf6d6a75cd1f71abbf8fc83 Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 21 Jul 2026 16:55:36 +0200 Subject: [PATCH 1/2] ci: publish full releases and name the macOS asset by version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit prerelease - Every release was published with `prerelease: true`, and GitHub never marks a pre-release as "Latest". `/releases/latest` therefore 404s — the exact link README.md:121 sends users to for a download. Publish as a full release; the notes still say alpha, this flag is about discoverability. macOS asset name - The DMG was renamed to `Eldrun--universal.dmg` while the AppImage, deb and exe all carry the version, leaving the one asset a user couldn't tie to a release at a glance. Name it `Eldrun__universal.dmg`. - The move is now guarded: Tauri may already emit exactly that name, and `mv x x` fails. The upload glob widens to `*universal.dmg` so it matches either separator. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/ci-cd.yml | 19 ++++++++++++++----- Cargo.lock | 2 +- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index e1618bf..dd088a9 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -262,15 +262,21 @@ jobs: # step's `bash -e` would treat as fatal before `test -n` ever runs. dmg="$(find src-tauri/target target -path '*/universal-apple-darwin/release/bundle/dmg/*.dmg' -print -quit 2>/dev/null || true)" test -n "$dmg" - mv "$dmg" "$(dirname "$dmg")/Eldrun-${{ github.sha }}-universal.dmg" + # Name the published asset by version, like the AppImage/deb/exe + # bundles do — naming it by commit sha made the macOS asset the only + # one a user couldn't match to a release at a glance. Guard the move: + # Tauri may already emit exactly this name, and `mv x x` fails. + version="$(node -p "require('./package.json').version")" + target="$(dirname "$dmg")/Eldrun_${version}_universal.dmg" + [ "$dmg" = "$target" ] || mv "$dmg" "$target" - name: Upload DMG uses: actions/upload-artifact@v4 with: name: eldrun-${{ github.sha }}-macos-universal-dmg path: | - src-tauri/target/universal-apple-darwin/release/bundle/dmg/*-universal.dmg - target/universal-apple-darwin/release/bundle/dmg/*-universal.dmg + src-tauri/target/universal-apple-darwin/release/bundle/dmg/*universal.dmg + target/universal-apple-darwin/release/bundle/dmg/*universal.dmg release: name: release @@ -356,8 +362,11 @@ jobs: with: tag_name: ${{ github.ref_name }} name: ${{ github.ref_name }} - # Pre-1.0 tags are alpha/preview builds; mark them so on GitHub. - prerelease: true + # Publish as a full release so the newest tag becomes GitHub's + # "Latest" — a pre-release never does, which left the releases page + # with no latest build and the README's /releases/latest link stale. + # The notes still say alpha; this flag is about discoverability. + prerelease: false body_path: release-body.md fail_on_unmatched_files: false # Recursive globs: the upload steps list two path patterns, so diff --git a/Cargo.lock b/Cargo.lock index 7f719a9..4a187c9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1129,7 +1129,7 @@ checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" [[package]] name = "eldrun" -version = "0.1.32" +version = "0.1.33" dependencies = [ "arboard", "base64 0.22.1", From d0616abb3fd4d138631489e0bba1bc0f5488e0ca Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 21 Jul 2026 16:55:36 +0200 Subject: [PATCH 2/2] chore: bump version to v0.1.34 --- package.json | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index c5b149e..1f00176 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "eldrun", "private": true, - "version": "0.1.33", + "version": "0.1.34", "license": "MIT OR Apache-2.0", "type": "module", "scripts": { diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 933eaa8..82b1a27 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "eldrun" -version = "0.1.33" +version = "0.1.34" edition = "2021" license = "MIT OR Apache-2.0" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 412c483..8caacd4 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,6 +1,6 @@ { "productName": "Eldrun", - "version": "0.1.33", + "version": "0.1.34", "identifier": "io.github.fseiffarth.eldrun", "build": { "frontendDist": "../dist",