File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5454 ls -la
5555
5656 # Check build artifact exists
57- for file in "code-editor-sagemaker-server-build.tar.gz" "code-editor-sagemaker-server-src.tar.gz"; do
57+ for file in "$COMMIT_SHA- code-editor-sagemaker-server-build.tar.gz" "$COMMIT_SHA- code-editor-sagemaker-server-src.tar.gz"; do
5858 if [ ! -f "$file" ]; then
5959 echo "Error: $file not found for commit $COMMIT_SHA"
6060 exit 1
@@ -63,13 +63,13 @@ jobs:
6363
6464 - name : Untar, Inject current Code Editor Version and Re-tar
6565 run : |
66- tar xzf code-editor-sagemaker-server-build.tar.gz
66+ tar xzf $COMMIT_SHA- code-editor-sagemaker-server-build.tar.gz
6767 cd vscode-reh-web-linux-x64
6868 jq '.codeEditorVersion = "$VERSION_NUM"' product.json > temp.json && mv temp.json product.json
6969 tar -czf code-editor-sagemaker-server-${VERSION_NUM}.tar.gz vscode-reh-web-linux-x64
7070 rm -rf vscode-reh-web-linux-x64
7171
72- tar xzf code-editor-sagemaker-server-src.tar.gz
72+ tar xzf $COMMIT_SHA- code-editor-sagemaker-server-src.tar.gz
7373 cd code-editor-src
7474 jq '.codeEditorVersion = "$VERSION_NUM"' product.json > temp.json && mv temp.json product.json
7575 tar -czf code-editor-sagemaker-src-${VERSION_NUM}.tar.gz code-editor-src
You can’t perform that action at this time.
0 commit comments