File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @al/core" ,
3- "version" : " 1.4.0 " ,
3+ "version" : " 1.4.1 " ,
44 "description" : " Node Enterprise Packages for Alert Logic (NEPAL) Core Library" ,
55 "main" : " ./dist/index.cjs.js" ,
66 "types" : " ./dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -93,12 +93,7 @@ stages:
9393
9494 PKGNAME=$(node -e 'console.log(require("./package.json").name)')
9595 PKGVERSION=$(node -e 'console.log(require("./package.json").version)')
96- PKGTAG=$(node -e 'console.log(require("./package.json").tag)')
97-
98- if [ "$PKGTAG" -eq "" ]; then
99- PKGTAG="latest"
100- echo "No tag specified in package.json, defaulting to 'latest'"
101- fi
96+ PKGTAG=$(node -e 'console.log(require("./package.json").tag ?? "latest")')
10297
10398 V_VERSION=v$PKGVERSION
10499 WORDCOUNT=$(npm view "${PKGNAME}@${PKGVERSION}" | wc -c)
You can’t perform that action at this time.
0 commit comments