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 54
54
ls -la
55
55
56
56
# 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
58
58
if [ ! -f "$file" ]; then
59
59
echo "Error: $file not found for commit $COMMIT_SHA"
60
60
exit 1
@@ -63,13 +63,13 @@ jobs:
63
63
64
64
- name : Untar, Inject current Code Editor Version and Re-tar
65
65
run : |
66
- tar xzf code-editor-sagemaker-server-build.tar.gz
66
+ tar xzf $COMMIT_SHA- code-editor-sagemaker-server-build.tar.gz
67
67
cd vscode-reh-web-linux-x64
68
68
jq '.codeEditorVersion = "$VERSION_NUM"' product.json > temp.json && mv temp.json product.json
69
69
tar -czf code-editor-sagemaker-server-${VERSION_NUM}.tar.gz vscode-reh-web-linux-x64
70
70
rm -rf vscode-reh-web-linux-x64
71
71
72
- tar xzf code-editor-sagemaker-server-src.tar.gz
72
+ tar xzf $COMMIT_SHA- code-editor-sagemaker-server-src.tar.gz
73
73
cd code-editor-src
74
74
jq '.codeEditorVersion = "$VERSION_NUM"' product.json > temp.json && mv temp.json product.json
75
75
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