From 42306545016784d7ad66b486caadedcc0eeceb2d Mon Sep 17 00:00:00 2001 From: Hiddify Date: Wed, 6 Mar 2024 16:02:48 +0100 Subject: [PATCH] add versioned draft --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1f8469df..8b753013 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: