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
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ It is configured with all the following features:
29
29
30
30
This project doesn't currently use [tox](https://tox.wiki/en/4.11.4/index.html) or other matrix
31
31
testing utilities. I prefer to run the tests only against the latest python locally, and run
32
-
previous python versions directly in the CI pipeline to catch these bugs.
32
+
previous python versions directly in the CI pipeline.
33
33
34
34
## How to use this repository template to create a new package
35
35
@@ -41,8 +41,8 @@ previous python versions directly in the CI pipeline to catch these bugs.
41
41
* Owner: The github repository owner (in this case `febus982`)
42
42
* Repository name: The github repository name (in this case `bootstrap-python-package`)
43
43
* Workflow name: `release.yml`
44
-
* Create a GitHub Actions secret named `CODECLIMATE_REPORTER_ID` (at URL https://github.com/GITHUB_NAME_OR_ORGANIZATION/GITHUB_REPOSITORY/settings/secrets/actions)
45
-
containing the codeclimate reporter id (you can find it at https://codeclimate.com/repos/YOUR_REPO_ID/settings/test_reporter).
44
+
* Create a GitHub Actions secret named `CODECLIMATE_REPORTER_ID` (at URL `https://github.com/GITHUB_NAME_OR_ORGANIZATION/GITHUB_REPOSITORY/settings/secrets/actions`)
45
+
containing the codeclimate reporter id (you can find it at `https://codeclimate.com/repos/YOUR_REPO_ID/settings/test_reporter`).
46
46
If you don't want to use CodeClimate just delete `workflows/python-quality.yml`.
47
47
* Update the badges in `README.md`! (check [shields.io](https://shields.io/) for extra badges)
48
48
* Setup local development:
@@ -51,7 +51,7 @@ previous python versions directly in the CI pipeline to catch these bugs.
51
51
* Install dev dependencies with `make dev-dependencies`
52
52
* Setup GitHub pages (this need local development setup):
53
53
* Initialise documentation branch `poetry run mike deploy dev latest --update-aliases --push`
54
-
*Enable GitHub Actions for GitHub Pages (at URL https://github.com/GITHUB_NAME_OR_ORGANIZATION/GITHUB_REPOSITORY/settings/pages)
54
+
*Configure GitHub Pages to deploy from the `gh-pages` branch (at URL `https://github.com/GITHUB_NAME_OR_ORGANIZATION/GITHUB_REPOSITORY/settings/pages`)
55
55
56
56
**IMPORTANT:** The repository is configured to deploy on the [test PyPI repository](https://test.pypi.org/).
57
57
It's strongly recommended to create the project in the [test PyPI repository](https://test.pypi.org/) and test
@@ -64,8 +64,10 @@ This setup uses [poetry-dynamic-versioning](https://github.com/mtkennerly/poetry
64
64
This means it's not necessary to commit the version in the code but the CI pipeline
65
65
will infer it from the git tag.
66
66
67
-
To release a new version, just create a new release in the github repository. It will
68
-
create a new tag and do all the magic.
67
+
To release a new version, just create a new release and tag in the GitHub repository, to:
68
+
69
+
* Build and deploy the python package to PyPI
70
+
* Build and deploy a new version of the documentation to GitHub pages
69
71
70
72
**IMPORTANT:** The default configuration requires the release name and the tag to follow
71
73
the convention `vX.X.X` (semantic versioning preceded by lowercase `v`). It will publish
Copy file name to clipboardExpand all lines: docs/index.md
+10-8Lines changed: 10 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ It is configured with all the following features:
15
15
16
16
This project doesn't currently use [tox](https://tox.wiki/en/4.11.4/index.html) or other matrix
17
17
testing utilities. I prefer to run the tests only against the latest python locally, and run
18
-
previous python versions directly in the CI pipeline to catch these bugs.
18
+
previous python versions directly in the CI pipeline.
19
19
20
20
## How to use this repository template to create a new package
21
21
@@ -27,17 +27,17 @@ previous python versions directly in the CI pipeline to catch these bugs.
27
27
* Owner: The github repository owner (in this case `febus982`)
28
28
* Repository name: The github repository name (in this case `bootstrap-python-package`)
29
29
* Workflow name: `release.yml`
30
-
* Create a GitHub Actions secret named `CODECLIMATE_REPORTER_ID` (at URL https://github.com/GITHUB_NAME_OR_ORGANIZATION/GITHUB_REPOSITORY/settings/secrets/actions)
31
-
containing the codeclimate reporter id (you can find it at https://codeclimate.com/repos/YOUR_REPO_ID/settings/test_reporter).
32
-
If you don't want to use CodeClimate just delete `workflows/python-quality.yml`.
33
-
* Update the badges in `README.md`! (check [shields.io](https://shields.io/) for extra badges)
34
30
* Setup local development:
35
31
* Clone the repository
36
32
* Install poetry `pip install poetry`
37
33
* Install dev dependencies with `make dev-dependencies`
38
34
* Setup GitHub pages (this need local development setup):
39
35
* Initialise documentation branch `poetry run mike deploy dev latest --update-aliases --push`
40
-
* Enable GitHub Actions for GitHub Pages (at URL https://github.com/GITHUB_NAME_OR_ORGANIZATION/GITHUB_REPOSITORY/settings/pages)
36
+
* Configure GitHub Pages to deploy from the `gh-pages` branch (at URL `https://github.com/GITHUB_NAME_OR_ORGANIZATION/GITHUB_REPOSITORY/settings/pages`)
37
+
* Create a GitHub Actions secret named `CODECLIMATE_REPORTER_ID` (at URL `https://github.com/GITHUB_NAME_OR_ORGANIZATION/GITHUB_REPOSITORY/settings/secrets/actions`)
38
+
containing the codeclimate reporter id (you can find it at `https://codeclimate.com/repos/YOUR_REPO_ID/settings/test_reporter`).
39
+
If you don't want to use CodeClimate just delete `workflows/python-quality.yml`.
40
+
* Update the badges in `README.md`! (check [shields.io](https://shields.io/) for extra badges)
41
41
42
42
**IMPORTANT:** The repository is configured to deploy on the [test PyPI repository](https://test.pypi.org/).
43
43
It's strongly recommended to create the project in the [test PyPI repository](https://test.pypi.org/) and test
@@ -50,8 +50,10 @@ This setup uses [poetry-dynamic-versioning](https://github.com/mtkennerly/poetry
50
50
This means it's not necessary to commit the version in the code but the CI pipeline
51
51
will infer it from the git tag.
52
52
53
-
To release a new version, just create a new release in the github repository. It will
54
-
create a new tag and do all the magic.
53
+
To release a new version, just create a new release and tag in the GitHub repository, to:
54
+
55
+
* Build and deploy the python package to PyPI
56
+
* Build and deploy a new version of the documentation to GitHub pages
55
57
56
58
**IMPORTANT:** The default configuration requires the release name and the tag to follow
57
59
the convention `vX.X.X` (semantic versioning preceded by lowercase `v`). It will publish
0 commit comments