From 93a308d4fd0a9265ab8b1aab3d06cbb52e5d8696 Mon Sep 17 00:00:00 2001 From: Ellet Date: Sun, 19 May 2024 18:34:39 +0300 Subject: [PATCH] ci(publishing): check if the package is ready for publishing before force publish to pub.dev --- .github/workflows/publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a2829561..ea064807 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -62,6 +62,9 @@ jobs: with: commit_message: "chore(version): update to version ${{ steps.extract_version.outputs.VERSION }}" + - name: Check if package is ready for publishing + run: flutter pub publish --dry-run + - name: Publish flutter_quill run: flutter pub publish --force