remove draft version

This commit is contained in:
Hiddify
2024-03-07 17:17:15 +01:00
parent e91e4f6b79
commit 894b53e24f

View File

@@ -85,11 +85,7 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v3
- name: update draft version
if: ${{ inputs.upload-artifact && inputs.tag-name == 'draft' }}
run: |
python -c "import re; content = open('pubspec.yaml').read(); content = re.sub(r'version: [^\+]*', f'version: ${{ needs.test.outputs.draftBuildCode }}', content, count=1); open('pubspec.yaml', 'w').write(content)"
- name: Setup Flutter
uses: subosito/flutter-action@v2
with: