remove draft version
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user