mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-11 00:39:29 -04:00
grep -> awk (version_bump.sh)
This commit is contained in:
parent
7ba9264647
commit
d851acc7e9
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ increment_buildcode() {
|
||||||
|
|
||||||
# Function to get the current version from pubspec.yaml
|
# Function to get the current version from pubspec.yaml
|
||||||
get_current_version() {
|
get_current_version() {
|
||||||
grep -oP '(?<=version: ).*' pubspec.yaml
|
awk '/^version: / { print $2 }' pubspec.yaml
|
||||||
}
|
}
|
||||||
|
|
||||||
# Function to update the version in pubspec.yaml
|
# Function to update the version in pubspec.yaml
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue