File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
33DEV_TAG=$1
4+ OTP=$2
45PACKAGE=" sf-git-merge-driver"
56
6- npm view " ${PACKAGE} " versions --json | jq -r ' .[]' | grep " \\ -${DEV_TAG} \\ ." | xargs -I {} npm deprecate " ${PACKAGE} @{}" " Deprecated dev version"
7- npm dist-tag rm " ${PACKAGE} " " ${DEV_TAG} "
7+ npm view " ${PACKAGE} " versions --json | jq -r ' .[]' | grep " \\ -${DEV_TAG} \\ ." | xargs -I {} npm deprecate " ${PACKAGE} @{}" " Deprecated dev version" --otp= " ${OTP} "
8+ npm dist-tag rm " ${PACKAGE} " " ${DEV_TAG} " --otp= " ${OTP} "
Original file line number Diff line number Diff line change 22
33VERSION=$1
44TAG=$2
5+ OTP=$3
56PACKAGE=" sf-git-merge-driver"
67
7- npm dist-tag add " ${PACKAGE} @${VERSION} " " ${TAG} "
8+ npm dist-tag add " ${PACKAGE} @${VERSION} " " ${TAG} " --otp= " ${OTP} "
You can’t perform that action at this time.
0 commit comments