File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ # Release process for ` lazy_loader `
2+
3+ ## Introduction
4+
5+ Example ` version `
6+
7+ - 1.8.dev0 \# development version of 1.8 (release candidate 1)
8+ - 1.8rc1 \# 1.8 release candidate 1
9+ - 1.8rc2.dev0 \# development version of 1.8 (release candidate 2)
10+ - 1.8 \# 1.8 release
11+ - 1.9.dev0 \# development version of 1.9 (release candidate 1)
12+
13+ ## Process
14+
15+ - Update and review ` CHANGELOG.md ` :
16+
17+ gem install github_changelog_generator
18+ github_changelog_generator -u scientific-python -p lazy_loader --since-tag=<last tag>
19+
20+ - Update ` version ` in ` pyproject.toml ` .
21+
22+ - Commit changes:
23+
24+ git add pyproject.toml CHANGELOG.md
25+ git commit -m 'Designate <version> release'
26+
27+ - Add the version number (e.g., [ v1.2.0] {.title-ref}) as a tag in git:
28+
29+ git tag -s [-u <key-id>] v<version> -m 'signed <version> tag'
30+
31+ If you do not have a gpg key, use -u instead; it is important for
32+ Debian packaging that the tags are annotated
33+
34+ - Push the new meta-data to github:
35+
36+ git push --tags origin main
37+
38+ where ` origin ` is the name of the ` github.com:scientific-python/lazy_loader `
39+ repository
40+
41+ - Review the github release page:
42+
43+ https://github.com/scientific-python/lazy_loader/releases
44+
45+ - Publish on PyPi:
46+
47+ git clean -fxd
48+ pip install flit
49+ flit build
50+ flit publish
51+
52+ - Update ` version ` in ` pyproject.toml ` .
53+
54+ - Commit changes:
55+
56+ git add pyproject.toml
57+ git commit -m 'Bump version'
58+ git push origin main
You can’t perform that action at this time.
0 commit comments