release: v0.1.0
Build Packages / Build .txz packages (push) Successful in 7m29s
Lint / ShellCheck (push) Successful in 11s
Lint / Validate .plg XML (push) Successful in 12s
Lint / EditorConfig (push) Successful in 5s
Release / Build release packages (push) Successful in 7m23s
Release / Publish GitHub Release (push) Failing after 19s
Build Packages / Build .txz packages (push) Successful in 7m29s
Lint / ShellCheck (push) Successful in 11s
Lint / Validate .plg XML (push) Successful in 12s
Lint / EditorConfig (push) Successful in 5s
Release / Build release packages (push) Successful in 7m23s
Release / Publish GitHub Release (push) Failing after 19s
First cut release, built and verified via Gitea Actions (build-packages.yml
run against commit 18b414d, all 11 packages succeeded). Repo lives on
Gitea (git.mp-mueller.de), not GitHub — scripts/release.sh and
plugin/podman.plg's github/gitURL/supportURL/baseURL entities are updated
to point there instead of the GitHub placeholders they had before (this
project has never actually had a GitHub remote).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
+13
-9
@@ -45,12 +45,15 @@ if ! [[ "$NEW_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# The GitHub Release tag/URL this release's assets will be published under.
|
||||
# Must match whatever .github/workflows/release.yml actually creates the
|
||||
# release as (tag "v<version>") — see that workflow for the release job.
|
||||
# The release tag/URL this release's assets will be published under. This
|
||||
# project is hosted on a self-hosted Gitea instance (git.mp-mueller.de),
|
||||
# not GitHub — REPO_SLUG/RELEASE_HOST are overridable via env vars for a
|
||||
# future move, but default to where this repo actually lives today. Must
|
||||
# match plugin/podman.plg's &baseURL; entity exactly (see that file).
|
||||
RELEASE_TAG="v$NEW_VERSION"
|
||||
REPO_SLUG="${GITHUB_REPOSITORY:-OWNER/unraid-podman}"
|
||||
RELEASE_BASE_URL="https://github.com/$REPO_SLUG/releases/download/$RELEASE_TAG"
|
||||
REPO_SLUG="${GITEA_REPOSITORY:-${GITHUB_REPOSITORY:-magges/unraid-podman}}"
|
||||
RELEASE_HOST="${RELEASE_HOST:-git.mp-mueller.de}"
|
||||
RELEASE_BASE_URL="https://$RELEASE_HOST/$REPO_SLUG/releases/download/$RELEASE_TAG"
|
||||
|
||||
# Component name -> the entity name prefix used in podman.plg. Must match
|
||||
# plugin/podman.plg's <!ENTITY NAME_txz_...> declarations exactly.
|
||||
@@ -142,7 +145,8 @@ echo " git add plugin/podman.plg CHANGELOG.md"
|
||||
echo " git commit -m \"release: v$NEW_VERSION\""
|
||||
echo " git tag $RELEASE_TAG"
|
||||
echo " git push && git push origin $RELEASE_TAG"
|
||||
echo "==> Pushing the tag triggers .github/workflows/release.yml, which"
|
||||
echo "==> rebuilds artifacts in CI (for reproducibility/provenance) and"
|
||||
echo "==> publishes the GitHub Release with dist/*.txz + CHECKSUMS.* + the"
|
||||
echo "==> updated podman.plg attached."
|
||||
echo "==> .github/workflows/release.yml (softprops/action-gh-release) only"
|
||||
echo "==> knows how to publish to GitHub — this repo lives on Gitea"
|
||||
echo "==> ($RELEASE_HOST), so for now, publish the Gitea Release and attach"
|
||||
echo "==> dist/*.txz + CHECKSUMS.* + the updated podman.plg to it by hand"
|
||||
echo "==> (or via the Gitea API) after pushing the tag."
|
||||
|
||||
Reference in New Issue
Block a user