add versioned draft

This commit is contained in:
Hiddify
2024-03-06 16:02:48 +01:00
parent 2593c32be9
commit 4230654501

View File

@@ -89,7 +89,7 @@ jobs:
if: ${{ inputs.upload-artifact && inputs.tag-name == 'draft' }}
run: |
draftBuildCode="${{ needs.test.outputs.draftBuildCode }}"
sed -i "0,/version: [0-9.]*+/{s/version: [0-9.]*+/version: $draftBuildCode/}" pubspec.yml
sed -i "0,/version: [0-9.]*+/{s/version: [0-9.]*+/version: $draftBuildCode/}" pubspec.yaml
- name: Setup Flutter
uses: subosito/flutter-action@v2
with: