You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know that I can rewrite my from regex to be stricter on version value, but the easiest way is ^version = \".*\", which is impossible right now.
I also don't want to write something like version = \"\d+\.\d+\.\d+\" because:
It still can match django-reversion = "3.0.1" if I ever want to pin it
It won't match -pre and -beta suffixes and I don't want to make this regex overly complex or sensetive
The text was updated successfully, but these errors were encountered:
Yeah, currently the release is failing and I haven't had time to debug. I use the same pattern for numerous other packages. I will investigate further Monday.
Right now it is impossible to write your
from
regex as^version = ...
because regex is not in multiline mode.Source: https://github.com/google/semantic-release-replace-plugin/blob/master/src/index.ts#L108
Right now both these lines match
"from": "version = \".*\"",
regex:and
I know that I can rewrite my
from
regex to be stricter on version value, but the easiest way is^version = \".*\"
, which is impossible right now.I also don't want to write something like
version = \"\d+\.\d+\.\d+\"
because:django-reversion = "3.0.1"
if I ever want to pin it-pre
and-beta
suffixes and I don't want to make this regex overly complex or sensetiveThe text was updated successfully, but these errors were encountered: