Skip to content

Commit 623b745

Browse files
Copilotwarreth
andcommitted
Optimize grep command for better performance
- Replace 'cat | grep' with direct grep for efficiency Co-authored-by: warreth <181062918+warreth@users.noreply.github.com>
1 parent fb9b208 commit 623b745

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
# Update version in pubspec.yaml
6969
sed -i "s/^version: .*/version: $TAG_VERSION+$BUILD_NUMBER/" pubspec.yaml
7070
echo "Updated version to: $TAG_VERSION+$BUILD_NUMBER"
71-
cat pubspec.yaml | grep "^version:"
71+
grep "^version:" pubspec.yaml
7272
7373
- name: Build all APKs
7474
run: |

0 commit comments

Comments
 (0)