grep -> awk (version_bump.sh)

This commit is contained in:
Ethan Hindmarsh Loves Veilid 2024-06-02 13:50:47 -05:00
parent 7ba9264647
commit d851acc7e9

View File

@ -28,7 +28,7 @@ increment_buildcode() {
# Function to get the current version from pubspec.yaml
get_current_version() {
grep -oP '(?<=version: ).*' pubspec.yaml
awk '/^version: / { print $2 }' pubspec.yaml
}
# Function to update the version in pubspec.yaml