Skip to content

Commit adf40d6

Browse files
authored
ENG-0000 - further refinement of pipeline steps for publishing (#422)
Also bumped patch version.
1 parent 3d3ce68 commit adf40d6

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

ps_spec.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)