Skip to content

Commit 9b507fd

Browse files
committed
Update release instructions on PR
1 parent dc7136a commit 9b507fd

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/update-version-pr.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,20 +138,23 @@ jobs:
138138
branch: ${{ steps.apply.outputs.branch }}
139139
base: main
140140
title: >
141-
Prepare ${{ steps.apply.outputs.new_pkg_version }}
141+
Prepare ${{ steps.apply.outputs.new_pkg_version }} release
142142
body: |
143143
This PR prepares a new release of **qiskit-ibm-catalog**:
144144
145145
- Bump catalog version → `${{ steps.apply.outputs.new_pkg_version }}`
146-
- Update requirement → `qiskit-serverless~=${{ steps.apply.outputs.new_pin_version }}`
146+
- Update qiskit-serverless requirement → `qiskit-serverless~=${{ steps.apply.outputs.new_pin_version }}`
147147
- Patch-only updates of `qiskit-serverless` are ignored
148148
149149
To release the package:
150150
151151
- Merge this PR
152-
- Tag with `v${{ steps.apply.outputs.new_pkg_version }}`
153-
- Push the tag `v${{ steps.apply.outputs.new_pkg_version }}`
154-
152+
- Ensure you're up to date: `git pull origin main`
153+
- Tag with `v${{ steps.apply.outputs.new_pkg_version }}`: `git tag -a v${{ steps.apply.outputs.new_pkg_version }} -m "Release Qiskit IBM Catalog v${{ steps.apply.outputs.new_pkg_version }}"`
154+
- Push the tag to GitHug: `git push origin v${{ steps.apply.outputs.new_pkg_version }}`
155+
156+
Pushing the tag will trigger the following [GitHub workflow](https://github.com/Qiskit/qiskit-ibm-catalog/blob/main/.github/workflows/client-pypi-release.yaml) to release the package on PyPI.
157+
155158
labels: |
156159
release
157160
automation

0 commit comments

Comments
 (0)