-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Switch to using poetry * Add changelog entry * Move changefile to actual PR number * Try with poetry in workflow * Add tox to pyproject * Update poetry.lock * Update workflow to use specific python versions * Update poetry.lock * Use path when running tests in CI * Try including tests * Try old way of running tests * Use old way for old deps tests as well * Update dockerfile to use poetry * Update poetry to a much newer version
- Loading branch information
Showing
8 changed files
with
2,344 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,36 @@ | ||
0. Consider whether this release will affect any customers, including those on | ||
EMS, and warn them beforehand - in case they need to upgrade quickly. | ||
|
||
1. Set a variable to the version number for convenience: | ||
1. Update the version number in pyproject.toml. | ||
2. Set a variable to the version number for convenience: | ||
```sh | ||
ver=x.y.z | ||
``` | ||
1. Update the changelog: | ||
3. Update the changelog: | ||
```sh | ||
towncrier --version=$ver | ||
``` | ||
1. Push your changes: | ||
4. Push your changes: | ||
```sh | ||
git add -u && git commit -m $ver && git push | ||
``` | ||
1. Sanity-check the | ||
5. Sanity-check the | ||
[changelog](https://github.com/matrix-org/sygnal/blob/master/CHANGELOG.md) | ||
and update if need be. | ||
1. Create a signed tag for the relese: | ||
6. Create a signed tag for the relese: | ||
```sh | ||
git tag -s v$ver | ||
``` | ||
Base the tag message on the changelog. | ||
1. Push the tag: | ||
7. Push the tag: | ||
```sh | ||
git push origin tag v$ver | ||
``` | ||
Pushing a tag on GitHub will automatically trigger a build in Docker Hub and | ||
the resulting image will be published using the same tag as git. | ||
1. Create release on GH project page: | ||
8. Create release on GH project page: | ||
```sh | ||
xdg-open https://github.com/matrix-org/sygnal/releases/edit/v$ver | ||
``` | ||
1. Notify #sygnal:matrix.org, #synapse-dev:matrix.org and EMS that a new | ||
9. Notify #sygnal:matrix.org, #synapse-dev:matrix.org and EMS that a new | ||
release has been published. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Switch over to use poetry & add lock file to version control. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.