Skip to content

Commit f6f6bb9

Browse files
authored
Merge pull request #345 from QE-Lab/fix-release-process
Fix release process
2 parents 6182c79 + 3172edf commit f6f6bb9

File tree

4 files changed

+15
-28
lines changed

4 files changed

+15
-28
lines changed

.github/workflows/assets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5151
with:
5252
upload_url: ${{ github.event.release.upload_url }}
53-
asset_path: wheelhouse/${{ steps.wheel.outputs.wheel }}
53+
asset_path: pybuild/dist/${{ steps.wheel.outputs.wheel }}
5454
asset_name: ${{ steps.wheel.outputs.wheel }}
5555
asset_content_type: application/zip
5656

.github/workflows/release.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# OpenQL Framework #
22

3-
[![Documentation Status](https://readthedocs.org/projects/openql/badge/?version=latest)](https://openql.readthedocs.io/en/latest/?badge=latest) [![Build Status](https://travis-ci.com/QE-Lab/OpenQL.svg?branch=develop)](https://travis-ci.com/QE-Lab/OpenQL)
3+
[![Documentation Status](https://readthedocs.org/projects/openql/badge/?version=latest)](https://openql.readthedocs.io/en/latest/?badge=latest)
4+
[![Travis Build Status](https://travis-ci.com/QE-Lab/OpenQL.svg?branch=develop)](https://travis-ci.com/QE-Lab/OpenQL)
5+
[![GitHub Actions Build Status](https://github.com/QE-Lab/libqasm/workflows/Test/badge.svg)](https://github.com/qe-lab/libqasm/actions)
6+
[![PyPI](https://badgen.net/pypi/v/qutechopenql)](https://pypi.org/project/qutechopenql/)
7+
[![Anaconda](https://anaconda.org/qe-lab/openql/badges/version.svg)](https://anaconda.org/qe-lab/openql/)
48

59
OpenQL is a framework for high-level quantum programming in C++/Python. The framework provides a compiler for compiling and optimizing quantum code. The compiler produces the intermediate quantum assembly language and the compiled micro-code for various target platforms. While the microcode is platform-specific, the quantum assembly code (qasm) is hardware-agnostic and can be simulated on the QX simulator. For detailed documentation see [here](https://openql.readthedocs.io).
610

RELEASE.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,15 @@ secrets are configured correctly.
2727
- Once CI is green, merge the PR into `develop` if there are any changes.
2828
If no changes were needed, just delete the branch to clean up.
2929

30-
- Push a tag with the appropriate version (customarily `x.y.z` without a `v`
31-
in front) for the latest version of `develop` (if the PR had changes and
32-
was merged, be sure to pull the changes first).
30+
- If needed, also merge to `master`.
3331

34-
- CI will automatically make a complete GitHub release for your tag. It will
35-
then run the assets workflow again, now with the new version string baked
32+
- Draft a new release through the GitHub interface. Set the "tag version"
33+
to the same version you put in `src/version.h`, the title to
34+
"Release `version`: `name`", and write a short changelog in the body.
35+
For releases that don't go to master, check the "prerelease" box, so it
36+
won't show up as the latest release.
37+
38+
- CI will run the assets workflow again, now with the new version string baked
3639
into the wheels and packages. When done, these wheels and packages are
3740
automatically added to the GitHub release, and if the secrets/API keys for
38-
PyPI and conda are correct, publish them there.
41+
PyPI and conda are correct, CI will publish them there.

0 commit comments

Comments
 (0)