@b4n commented on this pull request.


> @@ -23,6 +23,7 @@ s/^\(#define VER_FILEVERSION_STR  *\)[^ ].*$/\1"'"$VER"'"/
 ' -i geany_private.rc
 
 sed -e 's/^\(AC_INIT([^,]*, *\[\)[^]]*\(\],\)/\1'"$VER"'\2/' -i configure.ac
+sed -e 's/^\( *version: *\)[^,]*\(,\)/\1'"\'$VER\'"'\2/' -i meson.build

…or:
```suggestion
sed -re 
'/^project\W/,/[)]/s/^(.*\Wversion\s*:\s*)'\''[^'\'']*'\''(.*)$/\1'"'$VER'"'\2/'
 -i meson.build
```

Which should match only the single-quoted value of `version` inside `project()`.

Whichever you like best.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3599#discussion_r1359910200
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3599/review/[email protected]>

Reply via email to