Fix some version adding

This commit is contained in:
Eric Fennis
2021-09-26 12:22:25 +02:00
parent e79d778606
commit 601b7ad1fc
2 changed files with 5 additions and 7 deletions

View File

@@ -335,12 +335,6 @@ jobs:
# }
# EOF
- name: Install yd
run: |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CC86BB64
sudo add-apt-repository ppa:rmescandon/yq
sudo apt install yq -y
- name: Get packages
run: flutter pub get
working-directory: packages/lucide-flutter
@@ -356,7 +350,7 @@ jobs:
working-directory: packages/lucide-flutter
- name: Update yaml
run: yq e -i -f '.version = "${{ needs.pre-build.outputs.VERSION }}"' pubspec.yaml
run: sed -E 's/(version:)[^\n]*/\1 ${{ needs.pre-build.outputs.VERSION }}/;' pubspec.yaml > pubspec && mv pubspec pubspec.yaml
working-directory: packages/lucide-flutter
# - name: Flutter publish