Skip to content
This repository was archived by the owner on Mar 19, 2019. It is now read-only.

Commit ee40d25

Browse files
committed
Fewer quotes
1 parent 5220d05 commit ee40d25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

npm-publish.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function main() {
2222

2323
local package="package.json"
2424
local tmp_package="$package.tmp"
25-
if ! jq --arg tag "$TRAVIS_TAG" '.version = "$tag"' "$package" > "$tmp_package"; then
25+
if ! jq --arg tag "$TRAVIS_TAG" '.version = $tag' "$package" > "$tmp_package"; then
2626
err "failed to set version in $package"
2727
return 1
2828
fi

0 commit comments

Comments
 (0)