[PR #134] [MERGED] chore(release): automate GitHub releases + PVE host installer #133

Closed
opened 2026-10-15 12:52:16 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/games-on-whales/LXC2Docker/pull/134
Author: @JBailes
Created: 7/5/2026
Status: ✅ Merged
Merged: 7/5/2026
Merged by: @JBailes

Base: main ← Head: feat/release-automation


📝 Commits (2)

  • bed9952 chore(release): automate GitHub releases + add PVE host installer
  • 0bddf80 chore(release): publish a binary tarball alongside the .deb

📊 Changes

5 files changed (+161 additions, -18 deletions)

View changed files

📝 .github/workflows/ci.yml (+21 -10)
📝 Makefile (+31 -6)
📝 readme.md (+22 -2)
➕ scripts/install-on-pve.sh (+49 -0)
➕ scripts/release.sh (+38 -0)

📄 Description

What

Makes cutting a release a one-liner and gives Proxmox users a one-command host install. Groundwork for the Proxmox VE Community Scripts submission (the install script consumes the release .deb).

  • scripts/release.sh + make release VERSION=x.y.z — tags vX.Y.Z and pushes it; the existing CI package job then builds the .deb and publishes the GitHub release with auto-generated notes. ci.yml's release step now sets generate_release_notes: true.
  • Makefile version fix — on an exact tag the version is taken verbatim, so incidental working-tree churn (e.g. go mod tidy touching go.sum in CI) no longer leaks a .dirty suffix into the artifact name. Off a tag, behaviour is unchanged. Also fixes the stale package Homepage (docker-lxc-daemon → LXC2Docker).
  • scripts/install-on-pve.sh — downloads the latest release .deb and installs it on a Proxmox VE host:
    bash -c "$(curl -fsSL https://raw.githubusercontent.com/games-on-whales/LXC2Docker/main/scripts/install-on-pve.sh)"
    
  • readme — documents the release flow and the host one-liner.

Notes

  • v0.1.0 has already been cut (existing CI attached a clean docker-lxc-daemon_0.1.0_amd64.deb). Once this lands, future releases are just make release VERSION=….
  • Verified: on the v0.1.0 commit the Makefile resolves VERSION=0.1.0 even with a dirtied go.sum; release.sh rejects a dirty tree, a bad version, and an existing tag.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/games-on-whales/LXC2Docker/pull/134 **Author:** [@JBailes](https://github.com/JBailes) **Created:** 7/5/2026 **Status:** ✅ Merged **Merged:** 7/5/2026 **Merged by:** [@JBailes](https://github.com/JBailes) **Base:** `main` ← **Head:** `feat/release-automation` --- ### 📝 Commits (2) - [`bed9952`](https://github.com/games-on-whales/LXC2Docker/commit/bed995206e3854f4dec9d74a689e3b9f2f8fbd6d) chore(release): automate GitHub releases + add PVE host installer - [`0bddf80`](https://github.com/games-on-whales/LXC2Docker/commit/0bddf80f08b33f5f31fb0e72036813b845c2e267) chore(release): publish a binary tarball alongside the .deb ### 📊 Changes **5 files changed** (+161 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yml` (+21 -10) 📝 `Makefile` (+31 -6) 📝 `readme.md` (+22 -2) ➕ `scripts/install-on-pve.sh` (+49 -0) ➕ `scripts/release.sh` (+38 -0) </details> ### 📄 Description ## What Makes cutting a release a one-liner and gives Proxmox users a one-command host install. Groundwork for the [Proxmox VE Community Scripts](https://community-scripts.org) submission (the install script consumes the release `.deb`). - **`scripts/release.sh` + `make release VERSION=x.y.z`** — tags `vX.Y.Z` and pushes it; the existing CI `package` job then builds the `.deb` and publishes the GitHub release with auto-generated notes. `ci.yml`'s release step now sets `generate_release_notes: true`. - **Makefile version fix** — on an *exact* tag the version is taken verbatim, so incidental working-tree churn (e.g. `go mod tidy` touching `go.sum` in CI) no longer leaks a `.dirty` suffix into the artifact name. Off a tag, behaviour is unchanged. Also fixes the stale package `Homepage` (`docker-lxc-daemon` → `LXC2Docker`). - **`scripts/install-on-pve.sh`** — downloads the latest release `.deb` and installs it on a Proxmox VE host: ```sh bash -c "$(curl -fsSL https://raw.githubusercontent.com/games-on-whales/LXC2Docker/main/scripts/install-on-pve.sh)" ``` - **readme** — documents the release flow and the host one-liner. ## Notes - `v0.1.0` has already been cut (existing CI attached a clean `docker-lxc-daemon_0.1.0_amd64.deb`). Once this lands, future releases are just `make release VERSION=…`. - Verified: on the `v0.1.0` commit the Makefile resolves `VERSION=0.1.0` even with a dirtied `go.sum`; `release.sh` rejects a dirty tree, a bad version, and an existing tag. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 12:52:16 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/LXC2Docker#133
No description provided.