-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add RELEASE.md and add build package to pyproject.toml
- Loading branch information
Showing
3 changed files
with
34 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Creating a release | ||
==================== | ||
|
||
1. Update release date and version in changelog.md and commit. | ||
|
||
2. Merge develop into main: | ||
git checkout develop | ||
git merge main | ||
git checkout main | ||
git merge --no-ff develop | ||
|
||
3. Then tag the new release: | ||
git tag v0.4.0 -a | ||
<enter something like "Release v0.4.0"> | ||
git push origin v0.4.0 | ||
|
||
4. Upload new release to pypi: | ||
rm dist/* | ||
python -m build | ||
twine upload dist/dns_exporter* | ||
|
||
5. Back to development: | ||
git checkout develop | ||
git merge main | ||
|
||
6. Then update CHANGELOG.md, commit and push. |
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