File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 20
20
NEW_FILE_NAME=$( echo $LATEST_VERSION | tr . _)
21
21
22
22
# Copy the docs/version-template.md and name it after the new version
23
- cp docs/version-template.md docs/$NEW_VERSION .md
23
+ cp docs/version-template.md docs/$NEW_FILE_NAME .md
24
24
25
25
# Replace the placeholder __NEW_VERSION__ with the latest version in the new file
26
26
sed -i " s/__NEW_VERSION__/$LATEST_VERSION /g" docs/$NEW_FILE_NAME .md
@@ -50,5 +50,5 @@ echo "Setup of the plugin for version $LATEST_VERSION is complete."
50
50
# Step 4: Update installation instructions at the home page
51
51
52
52
# Replace the plugin version in the URL with the new version
53
- sed -i " s|https://zjoule.com/.*/plugin|https://zjoule.com/$NEW_VERSION /plugin|g" docs/index.md
53
+ sed -i " s|https://zjoule.com/.*/plugin|https://zjoule.com/$LATEST_VERSION /plugin|g" docs/index.md
54
54
echo " Setup of the index for version $LATEST_VERSION is complete."
You can’t perform that action at this time.
0 commit comments