-
Notifications
You must be signed in to change notification settings - Fork 9
feat: Added automatic version control based in tags #83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: Added automatic version control based in tags #83
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you update the DEPENDENCIES_TRACTUS-X_SDK
text with the text located here?
98f03f9
to
cb780d0
Compare
eea73f9
to
f7f16e8
Compare
f7f16e8
to
9dd2f6d
Compare
9dd2f6d
to
9ee5027
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you sync it with the main branch?
DEPENDENCIES_TRACTUS-X_SDK
Outdated
@@ -39,6 +39,7 @@ pypi/pypi/-/pytest/8.1.1, MIT, approved, #19365 | |||
pypi/pypi/-/python-dotenv/1.0.1, BSD-2-Clause AND BSD-3-Clause, approved, clearlydefined | |||
pypi/pypi/-/python-keycloak/4.0.1, MIT, approved, clearlydefined | |||
pypi/pypi/-/python-multipart/0.0.20, Apache-2.0, approved, clearlydefined | |||
pypi/pypi/-/requests-mock/1.12.1, Apache-2.0, approved, clearlydefined |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This dependency is already in the main branch.
|
WHAT
This PR introduces changes in the release workflow to update the version of the package to be published to Pypi automatically. The version is taken from the last active tag in GitHub repo. Tags are expected to follow the semantic versioning guidelines (e.g. v0.0.1 is a valid tag). It also updates the version field included in init,py files when it is declared.
WHY
This changes unify the versioning of the package into a single mechanism (as decided in open meetings it is via GitHub tags) and takes care that every automatic deploy is correctly versioned.
FURTHER NOTES
Closes #117