You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 806a58d
Browse filesBrowse the repository at this point in the historyBrowse files
Feiyang Liu
committed
Map between the Code Editor and SageMaker Code Editor versions only in product.json metadata
sed -i "s/codeEditorVersion:\s*\"$CURRENT_VERSION\"/codeEditorVersion:\"$VERSION_NUM\"/g" "$file"
97
+
sed -i "s/codeEditorVersion:\"$CURRENT_CE_VERSION\"/codeEditorVersion:\"$CODE_EDITOR_VERSION\",sagemakerCodeEditorVersion:\"$SAGEMAKER_VERSION\"/g" "$file"
85
98
done
86
99
87
100
cd ..
88
-
tar -czf "code-editor-sagemaker-server-$VERSION_NUM.tar.gz" vscode-reh-web-linux-x64/
101
+
tar -czf "code-editor-sagemaker-server-$CODE_EDITOR_VERSION.tar.gz" vscode-reh-web-linux-x64/
89
102
rm -rf vscode-reh-web-linux-x64
90
103
91
104
- name: Create GitHub release
92
105
run: |
93
106
# Check if this is a release candidate
94
107
PRERELEASE_FLAG=""
95
-
if echo "$VERSION_NUM" | grep -qE '^[0-9]+\.[0-9]+\.[0-9]+-rc\.[0-9]+$'; then
108
+
if echo "$CODE_EDITOR_VERSION" | grep -qE '^[0-9]+\.[0-9]+\.[0-9]+-rc\.[0-9]+$'; then
96
109
PRERELEASE_FLAG="--prerelease"
97
110
echo "Detected release candidate version, will mark as prerelease"
98
111
fi
99
112
100
113
# Check if release already exists. Needed when release created via new release in guthub ui
101
-
if gh release view "$VERSION_NUM" > /dev/null 2>&1; then
102
-
echo "Release for tag $VERSION_NUM already exists, uploading additional assets..."
0 commit comments