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
- It is also possible to include `<project path>/dist/slack_bolt-1.2.3-py2.py3-none-any.whl`in a [requirements.txt](https://pip.pypa.io/en/stable/user_guide/#requirements-files) file
127
+
128
+
111
129
### Releasing
112
130
113
131
#### Generate API documents
@@ -126,65 +144,73 @@ username: {your username}
126
144
password: {your password}
127
145
```
128
146
129
-
##### Deployment
130
147
131
-
You can deploy a new version using `./scripts/deploy_to_test_pypi_org.sh`.
1. Create a branch in which the development release will live:
151
+
- Bump the version number in adherence to [Semantic Versioning](http://semver.org/) and [Developmental Release](https://peps.python.org/pep-0440/#developmental-releases) in `slack_bolt/version.py`
152
+
- Example the current version is `1.2.3` a proper development bump would be `1.3.0.dev0`
153
+
- `.dev` will indicate to pip that this is a [Development Release](https://peps.python.org/pep-0440/#developmental-releases)
154
+
- Note that the `dev` version can be bumped in development releases: `1.3.0.dev0` ->`1.3.0.dev1`
155
+
- Commit with a message including the new version number. For example `1.3.0.dev0`& Push the commit to a branch where the development release will live (create it if it does not exist)
156
+
- `git checkout -b future-release`
157
+
- `git commit -m 'version 1.3.0.dev0'`
158
+
- `git push future-release`
159
+
- Create a git tag for the release. For example `git tag v1.3.0.dev0`.
160
+
- Push the tag up to github with `git push origin --tags`
137
161
138
-
#### Production Deployment
162
+
2. Distribute the release
163
+
- Use the latest stable Python runtime
164
+
- `python -m venv .venv`
165
+
- `./scripts/deploy_to_pypi_org.sh`
166
+
- You do not need to create a GitHub release
167
+
168
+
3. (Slack Internal) Communicate the release internally
139
169
140
-
1. Create the commit for the release:
141
170
142
-
- Bump the version number in adherence to [Semantic Versioning](http://semver.org/) in `slack_bolt/version.py`
0 commit comments