2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 07:41:03 +00:00

ci: automated release regex

ref: https://github.com/frappe/frappe/pull/17725
This commit is contained in:
Ankush Menat 2022-08-03 16:16:30 +05:30
parent 18a954b88c
commit 7e12108bc6

View File

@ -5,7 +5,7 @@
"@semantic-release/release-notes-generator", "@semantic-release/release-notes-generator",
[ [
"@semantic-release/exec", { "@semantic-release/exec", {
"prepareCmd": 'sed -ir "s/[0-9]*\.[0-9]*\.[0-9]*/${nextRelease.version}/" bench/__init__.py' "prepareCmd": 'sed -ir -E "s/\"[0-9]+\.[0-9]+\.[0-9]+\"/\"${nextRelease.version}\"/" bench/__init__.py'
} }
], ],
[ [