mirror of
https://github.com/cdr/code-server.git
synced 2026-04-23 23:41:05 +02:00
fix(npm): write npm package name to file (#5049)
This commit is contained in:
parent
d5d7c519e8
commit
0fceb128f7
1 changed files with 4 additions and 1 deletions
|
|
@ -137,7 +137,10 @@ main() {
|
||||||
# Use the development package name
|
# Use the development package name
|
||||||
# This is so we don't clutter the code-server versions on npm
|
# This is so we don't clutter the code-server versions on npm
|
||||||
# with development versions.
|
# with development versions.
|
||||||
jq ".name |= \"$PACKAGE_NAME\"" package.json
|
# jq can't edit in place so we must store in memory and echo
|
||||||
|
local contents
|
||||||
|
contents="$(jq ".name |= \"$PACKAGE_NAME\"" package.json)"
|
||||||
|
echo "${contents}" > package.json
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue