-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from DataChefHQ/29-add-automatic-versioning-to…
…-python feat(python): add automatic versioning using release script.
- Loading branch information
Showing
5 changed files
with
57 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## Release | ||
|
||
To release a new version, you can use automatic `release` command | ||
installed by `devenv` scripts. This script will: | ||
|
||
1. Bump the version based on [Conventional | ||
Commits](https://www.conventionalcommits.org/en/v1.0.0/) format found | ||
in the commit history. | ||
2. Update `CHANGELOG.MD`. | ||
3. Assign version tag to the repository. | ||
|
||
After the script finished successfully, you need to: | ||
|
||
1. Commit changes. | ||
2. `git push` and `git push --tags`. | ||
|
||
If you want to have a release on your source control system, Github or | ||
Gitlab, you can do it dependent to the system, using the published | ||
tags. |
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
2 changes: 2 additions & 0 deletions
2
template/{% if language == 'Python' %}{{ project_name }}{% endif %}/README.md.jinja
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 +1,3 @@ | ||
# {{project_name}} | ||
|
||
{% include pathjoin("includes", "README.release.md.jinja") %} |
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