From bb78dd8cc57171d57600b1cd7654a879967c8a4b Mon Sep 17 00:00:00 2001 From: Arjo Bruijnes Date: Tue, 11 Nov 2025 13:28:30 +0100 Subject: [PATCH 1/3] Export releases without newlines and make dependency explicit --- .github/workflows/PublishNpm.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/PublishNpm.yml b/.github/workflows/PublishNpm.yml index b45fd892..d5989d2f 100644 --- a/.github/workflows/PublishNpm.yml +++ b/.github/workflows/PublishNpm.yml @@ -26,13 +26,14 @@ jobs: version=${tag##*-v} jq -nc --arg p $package --arg v $version '{ package: $p, version: $v }' done - ) | jq --slurp '.' + ) | jq -c --slurp '.' )" >> "$GITHUB_OUTPUT" publish: name: "Publish NPM packages" runs-on: ubuntu-latest - + needs: discovery + if: ${{ needs.discover.outputs.releases != '[]' }} strategy: fail-fast: false matrix: From ba6b2e5f6ab37444773a1ffb921414f02d707971 Mon Sep 17 00:00:00 2001 From: Arjo Bruijnes Date: Tue, 11 Nov 2025 14:53:02 +0100 Subject: [PATCH 2/3] Unrelease failed release 11.3.0 --- packages/pluggable-widgets-tools/CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/pluggable-widgets-tools/CHANGELOG.md b/packages/pluggable-widgets-tools/CHANGELOG.md index c1ab6de4..4cc866a8 100644 --- a/packages/pluggable-widgets-tools/CHANGELOG.md +++ b/packages/pluggable-widgets-tools/CHANGELOG.md @@ -6,8 +6,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] -## [11.3.0] - 2025-11-11 - ### Changed - We added @d11/react-native-fast-image as an external native dependency in rollup config. From 75ec3825dcee8310c1a7a8c90bdc99ba45a08154 Mon Sep 17 00:00:00 2001 From: Arjo Bruijnes Date: Tue, 11 Nov 2025 15:13:18 +0100 Subject: [PATCH 3/3] Use full flags and add reasoning for use of tags --- .github/workflows/PublishNpm.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/PublishNpm.yml b/.github/workflows/PublishNpm.yml index d5989d2f..9ef39c29 100644 --- a/.github/workflows/PublishNpm.yml +++ b/.github/workflows/PublishNpm.yml @@ -24,9 +24,12 @@ jobs: for tag in $(git tag --points-at HEAD); do package=${tag%-v*} version=${tag##*-v} - jq -nc --arg p $package --arg v $version '{ package: $p, version: $v }' + # Without a file argument, jq will wait for stdin, unless you specify --null-input. + # By default jq pretty prints json. We need all of it on 1 line, so we use --compact-output here. + jq --null-input --compact-output --arg p $package --arg v $version '{ package: $p, version: $v }' done - ) | jq -c --slurp '.' + # The github outputs don't support unescaped newlines. So we use compact output here as well. + ) | jq --compact-output --slurp '.' )" >> "$GITHUB_OUTPUT" publish: