Skip to content

Commit e9f1296

Browse files
committed
Update release.yml workflow
1 parent 1115c17 commit e9f1296

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/release_promotion.yml renamed to .github/workflows/release.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release Promotion
1+
name: Release new MCK version
22

33
on:
44
workflow_dispatch:
@@ -8,7 +8,7 @@ on:
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"
@@ -62,8 +59,8 @@ jobs:
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

0 commit comments

Comments
 (0)