Skip to content

Commit de062f9

Browse files
Correct the artifact name
1 parent de307fd commit de062f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
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

0 commit comments

Comments
 (0)