Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .github/workflows/check-editor-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,19 @@ jobs:
- name: Update editor version marker
if: steps.check.outputs.found == 'true'
run: |
echo "${{ steps.check.outputs.tag }}" > .editor-version
TAG="${{ steps.check.outputs.tag }}"
echo "$TAG" > .editor-version
# Keep the playground blueprint's editor URL in sync with .editor-version,
# otherwise the preview stays pinned to the hardcoded version.
sed -i -E \
-e "s#(release=)v[0-9][0-9A-Za-z.-]*#\1$TAG#g" \
-e "s#(releases/download/)v[0-9][0-9A-Za-z.-]*#\1$TAG#g" \
-e "s#(exelearning-static-)v[0-9][0-9A-Za-z.-]*(\.zip)#\1$TAG\2#g" \
blueprint.json
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add .editor-version
git commit -m "Update editor version to ${{ steps.check.outputs.tag }}"
git add .editor-version blueprint.json
git commit -m "Update editor version to $TAG"
git push

- name: Build Playground URL for this release
Expand Down
2 changes: 1 addition & 1 deletion blueprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"path": "/tmp/exe-editor.zip",
"data": {
"resource": "url",
"url": "https://github-proxy.exelearning.dev/?repo=exelearning/exelearning&release=v4.0.0&asset=exelearning-static-v4.0.0.zip"
"url": "https://github-proxy.exelearning.dev/?repo=exelearning/exelearning&release=v4.0.1&asset=exelearning-static-v4.0.1.zip"
}
},
{
Expand Down