Skip to content

Commit 6e29e35

Browse files
committed
Avoid failing alpha workflow on first replay latest tag
1 parent 913d0bc commit 6e29e35

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/alpha-release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ jobs:
6868
replay_version="$(node -p "require('./packages/logfire-session-replay/package.json').version")"
6969
replay_latest="$(npm view @pydantic/logfire-session-replay dist-tags.latest --json 2>/dev/null | tr -d '"')"
7070
if [ "$replay_latest" = "$replay_version" ]; then
71-
echo "Removing latest dist-tag from @pydantic/logfire-session-replay; alpha is the intended install tag"
72-
npm dist-tag rm @pydantic/logfire-session-replay latest
71+
echo "@pydantic/logfire-session-replay is a first publish; npm keeps latest on the only published version"
7372
fi
7473
env:
7574
NPM_CONFIG_PROVENANCE: false

0 commit comments

Comments
 (0)