Skip to content

Commit 6600332

Browse files
committed
Chore(ci): Fix version to use version from package.json and not tagged ver
1 parent 7d5bc69 commit 6600332

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cdn-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,12 +282,12 @@ jobs:
282282
# Create README.md for the CDN using the gh-pages README
283283
cp $GITHUB_WORKSPACE/scripts/cdn/gh-pages/README.md cdn/README.md
284284
# Update the version references in the README
285-
sed -i "s/\${VERSION}/$VERSION/g" cdn/README.md
285+
sed -i "s/\${VERSION}/$CORE_VERSION/g" cdn/README.md
286286
287287
# Create index file for the CDN root
288288
cp $GITHUB_WORKSPACE/scripts/cdn/gh-pages/index.html cdn/index.html
289289
# Update version references
290-
sed -i "s/\${VERSION}/$VERSION/g" cdn/index.html
290+
sed -i "s/\${VERSION}/$CORE_VERSION/g" cdn/index.html
291291
# Fix the CDN link reference
292292
sed -i 's|<li><a href="/cdn/">CDN for packages</a></li>|<li><a href="/">CDN for packages</a></li>|' cdn/index.html
293293
sed -i 's|<a href="/cdn/" class="btn">Explore the CDN</a>|<a href="/" class="btn">Explore the CDN</a>|' cdn/index.html

0 commit comments

Comments
 (0)