You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -26,3 +26,17 @@ Finally, you can change to the `source/openpulse` directory and run:
26
26
```
27
27
pytest .
28
28
```
29
+
30
+
## Deployment procedure
31
+
32
+
The deployment is primarily managed by a GitHub Actions pipeline, triggered by a tag of the form `v<version>`.
33
+
For example, for package version `0.4.0`, the tag should be `v0.4.0`.
34
+
35
+
To deploy:
36
+
37
+
1. create a PR that sets the version number of the package in `__init__.py` to what it should be.
38
+
2. once the PR has merged, tag the merge commit (for example, `git fetch origin; git tag -m "Python AST 0.4.0" v0.4.0 origin/main`).
39
+
3. push the tag to this repository (for example, `git push origin v0.4.0`).
40
+
41
+
At this point, the deployment pipeline will take over and deploy the package to PyPI.
42
+
You should be able to see the progress [in the Actions tab of this repository](https://github.com/openqasm/openpulse/actions/workflows/deploy-ast.yml).
0 commit comments