singerdmx / flutter-quill

Rich text editor for Flutter
https://pub.dev/packages/flutter_quill
MIT License
2.6k stars 839 forks source link

ci: avoid hardcoding the branch name in publish.yml #2337

Closed EchoEllet closed 3 weeks ago

EchoEllet commented 3 weeks ago

Description

Avoid hardcoding the branch name (master) in publish.yml to allow publishing a pre-release of release/v11

Previously, I hardcoded the branch name master to fix a CI failure and left a TODO in the publish.yml since we didn't need to publish a release from a branch other than master and it's also not a priority and I wanted to focus on other issues.

This allows maintainers to publish a release from any branch.

Type of Change