- 
                Notifications
    
You must be signed in to change notification settings  - Fork 40
 
Publishing procedure
        Michael Thomsen edited this page Oct 11, 2021 
        ·
        8 revisions
      
    This GitHub Action is published to the GitHub Actions Marketplace here: https://github.com/marketplace/actions/setup-dart-sdk
Follow these steps to publish a new version:
- 
Land the changes via PRs
 - 
Make sure the
CHANGELOG.mdis updated - 
Get confirmation that the changes work by having someone use the new version using a commit tag, e.g.:
- uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603 - 
Use the GitHub flow for creating a new release with a release tag (e.g.
v1.3): 
- Navigate to https://github.com/dart-lang/setup-dart/releases
 - Click 'Draft a new release'
 - Towards the bottom of the page, click the 'Choose a tag' box and then enter a tag (e.g. 
v1.3) - In the release notes field below, paste in the relevant text from the changelog
 
- Move the 
v1tag to point to the latestv1.xrelease as per the GitHub guidance 
- Find the commit tag: 
git log --pretty=oneline - Move the v1 tag it: 
git tag -f v1 [commit tag]