m3_lightmeter/.github/scripts/stub_iap.sh

2 lines
270 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-02 09:39:48 +00:00
perl -0777 -i -pe 's/( m3_lightmeter_iap:\n)( git:\n url: "https:\/\/github.com\/vodemn\/m3_lightmeter_iap"\n ref: main)/$1 path: iap/sg' pubspec.yaml