Fix regex character class in version escaping
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
# Changelog — Moko-Cassiopeia (VERSION: 03.05.00)
|
# Changelog — Moko-Cassiopeia (VERSION: 03.05.00)
|
||||||
|
|
||||||
## [03.05.00] 2026-01-04
|
## [03.05.00] 2026-01-09
|
||||||
- Created `.github/workflows`
|
- Created `.github/workflows`
|
||||||
- Replaced `./CODE_OF_CONDUCT.md` from `MokoStandards`
|
- Replaced `./CODE_OF_CONDUCT.md` from `MokoStandards`
|
||||||
- Replaced `./CONTRIBUTING.md` from `MokoStandards`
|
- Replaced `./CONTRIBUTING.md` from `MokoStandards`
|
||||||
|
|||||||
@@ -42,7 +42,8 @@ echo "TODAY: ${TODAY}"
|
|||||||
echo "VERSION: ${VERSION}"
|
echo "VERSION: ${VERSION}"
|
||||||
|
|
||||||
# Escape special regex characters in VERSION for safe use in grep and sed
|
# Escape special regex characters in VERSION for safe use in grep and sed
|
||||||
VERSION_ESCAPED=$(printf '%s\n' "${VERSION}" | sed 's/[]\/$*.^[]/\\&/g')
|
# Escapes: ] \ / $ * . ^ [
|
||||||
|
VERSION_ESCAPED=$(printf '%s\n' "${VERSION}" | sed 's/[][\/$*.^]/\\&/g')
|
||||||
|
|
||||||
# Update CHANGELOG.md - replace the date on the version heading line
|
# Update CHANGELOG.md - replace the date on the version heading line
|
||||||
if [ -f "CHANGELOG.md" ]; then
|
if [ -f "CHANGELOG.md" ]; then
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
</updateservers>
|
</updateservers>
|
||||||
<name>moko-cassiopeia</name>
|
<name>moko-cassiopeia</name>
|
||||||
<version>03.05.00</version>
|
<version>03.05.00</version>
|
||||||
<creationDate>2025-12-23</creationDate>
|
<creationDate>2026-01-09</creationDate>
|
||||||
<author>Jonathan Miller || Moko Consulting</author>
|
<author>Jonathan Miller || Moko Consulting</author>
|
||||||
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
||||||
<copyright>(C)GNU General Public License Version 3 - 2025 Moko Consulting</copyright>
|
<copyright>(C)GNU General Public License Version 3 - 2025 Moko Consulting</copyright>
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
<client>site</client>
|
<client>site</client>
|
||||||
|
|
||||||
<version>03.05.00</version>
|
<version>03.05.00</version>
|
||||||
<creationDate>2025-12-12</creationDate>
|
<creationDate>2026-01-09</creationDate>
|
||||||
<author>Jonathan Miller || Moko Consulting</author>
|
<author>Jonathan Miller || Moko Consulting</author>
|
||||||
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
||||||
<copyright>(C)GNU General Public License Version 3 - 2025 Moko Consulting</copyright>
|
<copyright>(C)GNU General Public License Version 3 - 2025 Moko Consulting</copyright>
|
||||||
|
|||||||
Reference in New Issue
Block a user