Skip to content

Commit

Permalink
scripts: fix update_version.sh for snap (#8305)
Browse files Browse the repository at this point in the history
* scripts: fix snap update call

Signed-off-by: Patrick Stephens <[email protected]>

* build: bump to v2.2.0

Signed-off-by: Patrick Stephens <[email protected]>

* dockerfile: bump to v2.2.0

Signed-off-by: Patrick Stephens <[email protected]>

* scripts: fix snap update call

Signed-off-by: Patrick Stephens <[email protected]>

---------

Signed-off-by: Patrick Stephens <[email protected]>
  • Loading branch information
patrick-stephens authored Dec 19, 2023
1 parent db38f77 commit b996e91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion update_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b996e91

Please sign in to comment.