Skip to content

Commit 6fdb415

Browse files
authored
Merge pull request #22 from jescalada/bugfix-on-1.2
fix: invalid release tagging in npm.yml
2 parents aa976ec + 8172a66 commit 6fdb415

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
# Otherwise, this is a maintenance release on an older line
7373
# Tag as v<major>.<minor> so users can pin to it
7474
MAJOR_MINOR=$(echo "$VERSION" | cut -d. -f1,2)
75-
DIST_TAG="v${MAJOR_MINOR}"
75+
DIST_TAG="release-${MAJOR_MINOR}"
7676
echo "Maintenance release detected, publishing under '$DIST_TAG' tag"
7777
npm publish "${PUBLISH_FLAGS[@]}" --tag "$DIST_TAG"
7878
fi

0 commit comments

Comments
 (0)