mirror of https://github.com/coder/code-server.git
Remove all scripts in release
The new pre-install script was being included, which is dev-only. This was always the intent; did not realize jq's merge was recursive.
This commit is contained in:
parent
20f6fcebe2
commit
8687c05f9e
|
@ -49,7 +49,7 @@ bundle_code_server() {
|
||||||
rsync typings/pluginapi.d.ts "$RELEASE_PATH/typings"
|
rsync typings/pluginapi.d.ts "$RELEASE_PATH/typings"
|
||||||
|
|
||||||
# Adds the commit to package.json
|
# Adds the commit to package.json
|
||||||
jq --slurp '.[0] * .[1]' package.json <(
|
jq --slurp '(.[0] | del(.scripts)) * .[1]' package.json <(
|
||||||
cat << EOF
|
cat << EOF
|
||||||
{
|
{
|
||||||
"commit": "$(git rev-parse HEAD)",
|
"commit": "$(git rev-parse HEAD)",
|
||||||
|
|
Loading…
Reference in New Issue