diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 6b5e42d0a19..8d292d62c70 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,6 +1,6 @@ name: fluent-bit base: core18 -version: '2.1.10' +version: '2.2.1' summary: High performance logs and stream processor description: | Fluent Bit is a high performance log processor and stream processor for Linux. diff --git a/update_version.sh b/update_version.sh index 998db1c2ade..b93eeb2ea61 100755 --- a/update_version.sh +++ b/update_version.sh @@ -72,7 +72,7 @@ sed_wrapper -i "s/ARG RELEASE_VERSION=[0-9].[0-9].[0-9]/ARG RELEASE_VERSION=$NEW # Snap -sed_wrapper -i "s/version: '[0-9].[0-9].[0-9]'/version: '$NEW_VERSION'/g" "$SCRIPT_DIR"/snap/snapcraft.yaml +sed_wrapper -i -E "s/version: '[0-9]+\.[0-9]+\.[0-9]+'/version: '$NEW_VERSION'/g" "$SCRIPT_DIR"/snap/snapcraft.yaml # Bitbake / Yocto if [[ -f "fluent-bit-$NEW_VERSION.bb" ]]; then