Support Immutable GitHub Releases

Open Beginner friendly
#165 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
github, github-actions
Domain
ci-cd, release

Research direction

Start by locating the repository's release workflow and identify the step that creates releases and collects binary assets. Update that release path to use the immutable GitHub Release command shown in the issue, then verify that all expected binaries are uploaded and the workflow completes successfully.

Written by the indexing model from the issue text.

Description

Linter

As suggested by @jtmcdole in https://github.com/flutter/skills/pull/158#discussion_r3429450916:
For another version:

  • We can mark releases as immutable. GitHub will make the sha256 for us. Binaries cannot change.
  • It means we upload all binaries in the release step like this:
      - name: Create Immutable GitHub Release
        env:
          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        run: |
          gh release create ${{ github.ref_name }} ./all-assets/* \
            --title "Release ${{ github.ref_name }}" \
            --generate-notes
Dominant language
Dart
Stars
3k
Forks
180
Avg merge
5d 29m
Merged PRs (30d)
6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from flutter/agent-plugins

All issues in flutter/agent-plugins

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.