File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
1
Publishing a new release
2
2
************************
3
3
4
- 1. Change the version in pyproject.toml and get this change merged into develop.
4
+ 1. Change the version in pyproject.toml and verify docs build;
5
+ and get this change merged into develop.
6
+
5
7
2. On github site go to Settings; on the left under Code and Automation
6
8
click on Branches; under Branch protection rules edit main;
7
9
check Allow specified actors to bypass required pull requests; add yourself
8
10
and don'forget to save the setting
9
- 2 . Checkout main and merge develop into main. Make sure documentation will be
11
+ 3 . Checkout main and merge develop into main. Make sure documentation will be
10
12
published upon push to main (.github/workflows/docs.yml) and push.
11
- 3 . Once merged, create a tag
13
+ 4 . Once merged, create a tag
12
14
with something like ``git tag -a 0.1.1 -m "BEE version 0.1.1" ``. You can see
13
15
existing tags with ``git tag ``. Finally do ``git push origin --tags `` to
14
16
push the new tag.
15
- 4 . Create release.
16
- 5 . Follow step 2 but uncheck Allow specified actors to bypass and don't forget save
17
- 5 . Finally, on the main branch, first run a ``poetry build `` and then a
17
+ 5 . Create release.
18
+ 6 . Follow step 2 but uncheck Allow specified actors to bypass and don't forget save
19
+ 7 . Finally, on the main branch, first run a ``poetry build `` and then a
18
20
``poetry publish ``. The second command will ask for a username and password
19
21
for PyPI.
20
22
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ python = ">=3.8.3,<=3.11"
54
54
55
55
# Package dependencies
56
56
Flask = { version = " ^2.0" }
57
- Jinja2 = { version = " ^3.0 " }
57
+ Jinja2 = { version = " <3.1 " }
58
58
neo4j = { version = " ^1.7.4" }
59
59
PyYAML = { version = " ^5.1.1" }
60
60
flask_restful = " 0.3.9"
You can’t perform that action at this time.
0 commit comments