Skip to content

Commit b148165

Browse files
authored
[WTF-2433]: Make widgets-tools publishing actions "trusted publishers" with npm (#148)
The previous version included some string escaping that confused the action runner. To be able to re-run the publishing job I needed to "unrelease" the latest version in the Changelog. If there are no unreleased changes the create PWT release job will fail.
2 parents 18f193d + d1bb3fe commit b148165

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/PublishNpm.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ jobs:
2222
echo "releases=$(
2323
(
2424
for tag in $(git tag --points-at HEAD); do
25-
echo "{ \"package\": \"${tag%-v*}\", \"version\": \"${tag##*-v}\" }"
25+
package=${tag%-v*}
26+
version=${tag##*-v}
27+
jq -nc --arg p $package --arg v $version '{ package: $p, version: $v }'
2628
done
2729
) | jq --slurp '.'
2830
)" >> "$GITHUB_OUTPUT"

packages/pluggable-widgets-tools/CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9-
## [11.3.0] - 2025-11-10
10-
119
### Changed
1210

1311
- We added @d11/react-native-fast-image as an external native dependency in rollup config.

0 commit comments

Comments
 (0)