Skip to content

Commit f5aca7e

Browse files
authored
Merge pull request #70 from toabctl/main-release-docs
docs: move release management into its own docs
2 parents 8de84ab + c55b2a2 commit f5aca7e

File tree

3 files changed

+28
-18
lines changed

3 files changed

+28
-18
lines changed

custom_conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,8 @@
197197
custom_excludes = [
198198
'doc-cheat-sheet*',
199199
'.github',
200-
'readme.rst'
200+
'readme.rst',
201+
'release-management.rst',
201202
]
202203

203204
# Add CSS files (located in .sphinx/_static/)

readme.rst

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,3 @@ License
1919
=======
2020

2121
The project uses `GPL-3.0` as license.
22-
23-
Doing a new release
24-
===================
25-
26-
New releases are mostly automated.
27-
28-
pypi
29-
----
30-
31-
For a new release on pypi, create a new tag (following semantic versioning)
32-
with a `v` as prefix (eg. `v0.2.1`).
33-
34-
snapstore
35-
---------
36-
37-
The latest git commit will be automatically build and published to the `latest/edge`
38-
channel. Manually promote from `latest/edge` to `latest/stable`.

release-management.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Doing a new release
2+
===================
3+
4+
New releases are mostly automated. A new github release (which includes
5+
creating a new git tag) can be done via the `github web UI <new-release>`_.
6+
In `Choose a tag`, create the new one (with a `v` as prefix, so eg. `v0.1.1`)
7+
and as a `Release title`, use the same name as the tag (so eg. `v0.1.1`).
8+
9+
pypi
10+
----
11+
12+
New releases on pypi happen automatically when a new git tag gets
13+
created. The tag needs to be prefixed with `v` (eg. `v0.10.0`).
14+
15+
snapstore
16+
---------
17+
18+
The latest git commit will be automatically build and published to the `latest/edge`
19+
channel. Promoting to `latest/stable` can be done with:
20+
21+
.. code-block::
22+
23+
snapcraft promote --from-channel latest/edge --to-channel latest/stable awspub
24+
25+
26+
.. _new-release: https://github.com/canonical/awspub/releases/new

0 commit comments

Comments
 (0)