mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2024-10-01 06:55:46 -04:00
grep -> awk (version_bump.sh)
This commit is contained in:
parent
7ba9264647
commit
d851acc7e9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user