Skip to content

ci: install each published release the way users do (refs #18) - #59

Merged
blockmandev merged 1 commit into
mainfrom
ci/install-check
Oct 23, 2026
Merged

blockmandev merged 1 commit into
mainfrom
ci/install-check

Conversation

@blockmandev

Copy link
Copy Markdown
Member

Problem: install.sh has never run anywhere, and nothing checks that a published release can actually be installed, or that it reports its own version.

Added: install-check.yml, which installs a tag's release with that tag's own installers and fails unless incode --version and sbx --version name the tag's version exactly:

  • install.sh on ubuntu-22.04 (x86_64 and arm) and macOS;
  • install.ps1 on Windows.

release.yml runs it right after publishing. It can also be run by hand: gh workflow run install-check.yml -f tag=v0.1.0-rc.2.

Checked: both workflows parse and every bash step passes bash -n. The workflow itself can only be run once it's on main. Right after merging I'll run it for v0.1.0-rc.2, which has already been installed by hand on Windows: checksum verified, and it reports 0.1.0-rc.2.

…m (refs #18)

install.sh had never run anywhere, and install.ps1 only by hand: nothing
checked that a published release can actually be installed, or that the
installed programs report the release's version (the drift #58 fixed).

install-check.yml installs a tag's release with the installers from that
tag -- install.sh on ubuntu-22.04 (x86_64 and arm) and macOS, install.ps1
on Windows -- into a private folder, and fails unless `incode --version`
and `sbx --version` name exactly the tag's version. release.yml calls it
after publishing (a release published with the workflow's token starts no
`on: release` workflow); it also runs by hand for an existing tag.
@blockmandev
blockmandev merged commit 49a2a2a into main Oct 23, 2026
12 checks passed
@blockmandev
blockmandev deleted the ci/install-check branch November 15, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant