From 1ee745dc086ad5344ac33457c4a8ded2d91ef3d7 Mon Sep 17 00:00:00 2001 From: Michal Date: Wed, 14 Oct 2026 23:52:10 +0100 Subject: [PATCH] CI: the artifact globs still said 'lab', the packages are 'labctl' publish-rpm failed on its first real run: the build job's upload path bastion/dist/lab-*.rpm matches nothing (nfpm creates labctl-*.rpm), so the rpm-packages artifact was never created. The deb glob lab*.deb only worked by accident of the underscore naming. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01V6HNx6cyr4J4CiMGCy1wkF --- .gitea/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 5d33f9d..05c2110 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -160,14 +160,14 @@ jobs: uses: actions/upload-artifact@v3 with: name: rpm-packages - path: bastion/dist/lab-*.rpm + path: bastion/dist/labctl-*.rpm retention-days: 7 - name: Upload DEB artifacts uses: actions/upload-artifact@v3 with: name: deb-packages - path: bastion/dist/lab*.deb + path: bastion/dist/labctl*.deb retention-days: 7 # -- Release pipeline (main branch push only) -------------- @@ -198,7 +198,7 @@ jobs: GITEA_OWNER: ${{ env.GITEA_OWNER }} GITEA_REPO: lab run: | - for RPM_FILE in dist/lab-*.rpm; do + for RPM_FILE in dist/labctl-*.rpm; do [ -f "$RPM_FILE" ] || continue RPM_VERSION=$(rpm -qp --queryformat '%{VERSION}-%{RELEASE}' "$RPM_FILE") RPM_ARCH=$(rpm -qp --queryformat '%{ARCH}' "$RPM_FILE") @@ -255,7 +255,7 @@ jobs: # Publish to each supported distribution DISTRIBUTIONS="trixie forky noble plucky" - for DEB_FILE in dist/lab*.deb; do + for DEB_FILE in dist/labctl*.deb; do [ -f "$DEB_FILE" ] || continue DEB_VERSION=$(dpkg-deb --field "$DEB_FILE" Version) DEB_ARCH=$(dpkg-deb --field "$DEB_FILE" Architecture)