m3_lightmeter/.github/scripts/stub_iap.sh

2 lines
290 B
Bash
Raw Normal View History

2023-09-02 09:50:11 +00:00
# https://unix.stackexchange.com/questions/435708/regex-multiline-pattern-and-substitution-replacement
2023-09-20 09:40:36 +00:00
perl -0777 -i -pe 's/( m3_lightmeter_iap:\n)( git:\n url: "https:\/\/github.com\/vodemn\/m3_lightmeter_iap"\n ref: v\d{1,2}.\d{1,2}.\d{1,2})/$1 path: iap/sg' pubspec.yaml