File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 1- name : Release Promotion
1+ name : Release new MCK version
22
33on :
44 workflow_dispatch :
88 type : string
99 required : true
1010 version :
11- description : ' Version to promote '
11+ description : ' Version to release '
1212 required : true
1313 type : string
1414
@@ -27,15 +27,12 @@ jobs:
2727 uses : ./.github/actions/setup-ubuntu-host
2828 with :
2929 python-version : ' ${{ vars.PYTHON_VERSION }}'
30- # Probably we should just download the Release Notes from the staging registry (together with other artifacts)
3130 - name : Generate Release Notes
3231 id : generate_release_notes
3332 run : python -m scripts.release.release_notes -s $INITIAL_COMMIT_SHA -v $INITIAL_VERSION -o release_notes_final.md
3433 env :
3534 INITIAL_COMMIT_SHA : ${{ vars.RELEASE_INITIAL_COMMIT_SHA }}
3635 INITIAL_VERSION : ${{ vars.RELEASE_INITIAL_VERSION }}
37- # Add all other assets to the release notes
38- # Put all of this in single script
3936 - name : Generate draft release
4037 run : |
4138 gh release create $VERSION --target $COMMIT_SHA --draft --prerelease --latest --notes-file release_notes_final.md --title "Release of MCK $VERSION"
6259 VERSION : ${{ github.event.inputs.version }}
6360 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6461
65- publish_release_notess :
66- name : Publish Release Notes
62+ publish_release :
63+ name : Publish Release
6764 environment : production
6865 runs-on : ubuntu-latest
6966 needs : approve_release
You can’t perform that action at this time.
0 commit comments