Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.45 KB

PUBLISHING.md

File metadata and controls

41 lines (26 loc) · 1.45 KB

🚀 Publishing a New Release

Follow these steps to publish a new release of the package:

1️⃣ Trigger the Prepare Release Workflow

Go to the GitHub Actions tab and trigger the Prepare Release workflow.

This workflow will:

  • 🔼 Bump the version in the pubspec.yaml file based on commit messages (e.g., 6.0.0 ➡️ 6.1.0).
  • 📝 Update the CHANGELOG.md file with the latest changes.

After making these changes, the workflow will create a pull request (PR) (e.g., chore(release): v6.1.0).

2️⃣ Review and Merge the PR

Open the PR created by the workflow, review the changes, and merge it into the main branch.

3️⃣ Automatic Release and Publishing

After merging the PR, the following workflows will automatically be triggered:

📦 Release Workflow

  • The Release workflow workflow will create a new release on GitHub with the corresponding Git tag.

🚀 Publish Workflow

  • After the Git tag is created, the Publish workflow will be triggered to publish the new package version to pub.dev.