Skip to content

chore: fix draft release workflow#456

Merged
josxha merged 4 commits intomainfrom
chore/fix-draft-release-workflow
Jan 16, 2026
Merged

chore: fix draft release workflow#456
josxha merged 4 commits intomainfrom
chore/fix-draft-release-workflow

Conversation

@josxha
Copy link
Owner

@josxha josxha commented Jan 16, 2026

  • Because maplibre_ios_example requires the Flutter SDK, version solving failed. Flutter users should use flutter pubinstead ofdart pub.

@josxha josxha added this to the v0.3.3+1 milestone Jan 16, 2026
Copilot AI review requested due to automatic review settings January 16, 2026 22:08
@github-project-automation github-project-automation bot moved this to Backlog in maplibre dev Jan 16, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the draft release workflow to align it with the Flutter-based approach used consistently across other workflows in the repository. The workflow previously used the standalone Dart SDK setup but now properly uses Flutter SDK setup, and also removes unnecessary branch management steps.

Changes:

  • Updated workflow name from "Create Release" to "Draft Release"
  • Replaced dart-lang/setup-dart@v1 with subosito/flutter-action@v2 for SDK setup
  • Removed redundant branch checkout and pull steps since the workflow runs in a clean environment
  • Added caching to the Flutter setup step
Comments suppressed due to low confidence (1)

.github/workflows/draft-release.yml:18

  • The checkout action version should be updated to @v6 to match the consistent pattern used across all other workflow files in the repository (ci.yml, docs.yml, fix-ci.yml, flutter-beta.yml, dependency-review.yml all use @v6).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 16, 2026

Deploying flutter-maplibre with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9e7a807
Status: ✅  Deploy successful!
Preview URL: https://740aa745.flutter-maplibre.pages.dev
Branch Preview URL: https://chore-fix-draft-release-work.flutter-maplibre.pages.dev

View logs

Copilot AI review requested due to automatic review settings January 16, 2026 22:11
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

Comments suppressed due to low confidence (3)

.github/workflows/draft-release.yml:31

  • The version is hardcoded to '0.3.3+1' instead of using the workflow input variable. This should use ${{ inputs.version }} to work correctly with the workflow_dispatch trigger.
    .github/workflows/draft-release.yml:37
  • When the workflow is triggered by pull_request, inputs.version will be empty, causing the tag_name and name to be just 'v'. The workflow should either skip the release creation step on PR triggers or provide a default/test version value.
    .github/workflows/draft-release.yml:28
  • The description mentions that Flutter users should use flutter pub instead of dart pub, but the workflow still uses dart pub get. This should be changed to flutter pub get to be consistent with the PR's stated purpose and avoid potential dependency resolution issues.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@josxha josxha enabled auto-merge (squash) January 16, 2026 22:15
@josxha josxha merged commit 86ccdfc into main Jan 16, 2026
13 of 15 checks passed
@josxha josxha deleted the chore/fix-draft-release-workflow branch January 16, 2026 22:21
@github-project-automation github-project-automation bot moved this from Backlog to Done in maplibre dev Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants