Skip to content

Release zips carry the built assets again - #14

Merged
gdarko merged 1 commit into
mainfrom
fix/release-build
Sep 24, 2026
Merged

gdarko merged 1 commit into
mainfrom
fix/release-build

Conversation

@gdarko

@gdarko gdarko commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

The v1.1.4 zip was published without dist/: Yarn 1 refuses to run inside the InvoiceShelf 2.x checkout (its package.json names pnpm as packageManager), and artifact-gen.sh zipped the module anyway. The broken asset has been removed from the release.

  • artifact-gen.sh builds with npm, stops at the first failure (set -euo pipefail) and refuses to zip without dist/style.css.
  • release.yaml can be run by hand with a tag input to rebuild and replace the zip of an existing release. After merging, that rebuilds v1.1.4.

Checked by running the script from the root of a 2.x checkout, as the workflow does: the zip includes dist/.

Yarn 1 refuses to run inside an InvoiceShelf 2.x checkout, whose
package.json names pnpm as its packageManager, and artifact-gen.sh went
on to zip the module without dist/, so v1.1.4 was published with no
JavaScript or CSS. The script now builds with npm, stops at the first
failure and refuses to zip without dist/. release.yaml can also be run by
hand for an existing tag to rebuild and replace its zip.
@gdarko
gdarko merged commit ed42f5b into main Sep 24, 2026
4 checks passed
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