Skip to content

Commit 7aa1d82

Browse files
Update entrypoint.sh (martinbeentjes#22)
1 parent 57ae162 commit 7aa1d82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh -l
22
PACKAGE_JSON_PATH="${1-.}"
33
echo "Reading package.json from ${PACKAGE_JSON_PATH}/package.json"
4-
PACKAGE_VERSION=$(cat ${PACKAGE_JSON_PATH}/package.json | jq '.version')
4+
PACKAGE_VERSION=$(cat ${PACKAGE_JSON_PATH}/package.json | jq '.version' | tr -d '"')
55

66
echo ::set-output name=current-version::$PACKAGE_VERSION

0 commit comments

Comments
 (0)