diff --git a/.github/scripts/stub_iap.sh b/.github/scripts/stub_iap.sh index 210e1ea..5ed6a48 100644 --- a/.github/scripts/stub_iap.sh +++ b/.github/scripts/stub_iap.sh @@ -1,2 +1,2 @@ # https://unix.stackexchange.com/questions/435708/regex-multiline-pattern-and-substitution-replacement -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 \ No newline at end of file +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 \ No newline at end of file