You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [ "${{ github.event.release.prerelease }}" == "false" ]; then
53
55
npm publish --access public --dry-run
54
56
npm publish --access public
55
-
echo "::notice title=Published ${{ github.ref_name }} to @${{ github.repository }}::This is a stable release published to the default 'latest' npm tag"
57
+
npm dist-tag add "$PACKAGE@$VERSION" edge
58
+
59
+
echo "::notice title=Published $VERSION to $PACKAGE::This is a stable release published to the default 'latest' npm tag"
60
+
echo "::notice title=Updated latest tag to $VERSION::The stable tag now points to $VERSION"
61
+
echo "::notice title=Updated edge tag to $VERSION::The edge tag now points to $VERSION"
56
62
else
57
-
npm publish --access public --tag ${{ env.PRERELEASE_TAG }} --dry-run
58
-
npm publish --access public --tag ${{ env.PRERELEASE_TAG }}
59
-
echo "::notice title=Published ${{ github.ref_name }} to @${{ github.repository }}@${{ env.PRERELEASE_TAG }}::This is a pre-release published to the '${{ env.PRERELEASE_TAG }}' npm tag"
63
+
npm publish --access public --tag edge --dry-run
64
+
npm publish --access public --tag edge
65
+
66
+
echo "::notice title=Published $VERSION to $PACKAGE::This is a prerelease published to the 'edge' npm tag"
67
+
echo "::notice title=Updated edge tag to $VERSION::The edge tag now points to $VERSION"
0 commit comments