Skip to content

Commit 4ffec91

Browse files
committed
refactor: use $COMMIT_SHA build-release.sh
1 parent a03a2f0 commit 4ffec91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/build/build-release.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ bundle_code_server() {
4545
jq --slurp '.[0] * .[1]' package.json <(
4646
cat <<EOF
4747
{
48-
"commit": "$(git rev-parse HEAD)",
48+
"commit": "$COMMIT_SHA",
4949
"scripts": {
5050
"postinstall": "./postinstall.sh"
5151
}
@@ -85,7 +85,7 @@ bundle_vscode() {
8585
jq --slurp '.[0] * .[1]' "$VSCODE_SRC_PATH/product.json" <(
8686
cat <<EOF
8787
{
88-
"commit": "$(git rev-parse HEAD)",
88+
"commit": "$COMMIT_SHA",
8989
"date": $(jq -n 'now | todate')
9090
}
9191
EOF

0 commit comments

Comments
 (0)