Resolve "Create a release using CI/CD"
All threads resolved!
All threads resolved!
Closes #17 (closed)
List of changes:
-
.gitlab-ci.yml
: Before_script is only executed for the tests/linters jobs. They are in the same stage. A new stage (release) is added that is triggered by tagging. The Build job will deploy the package to the Package Registry. The Release job releases the code. -
pyproject.toml
: A toml file is added to automatically build the package and write the__version__.py
, based on git tagging (using thesetuptools_scm
module) -
setup.py
: the version is removed here -
__init__.py
: the version is retrieved here, from the automatically generated__version__.py
Edited by Laurens Oostwegel
Merge request reports
Activity
assigned to @laurens
added 1 commit
- c412cf69 - Add build and release jobs to create version packages
added 1 commit
- 4c7cece7 - Support automatic builds and releases using Semantic Versioning
added 1 commit
- 520b3b49 - Support automatic builds and releases using Semantic Versioning
- Resolved by Lars Lingner
I would like to have some documentation about it.
- how to create a release
- steps are necessary before/after a release
- what settings/files needs to be modified
- description of the files (like the overview in this MR)
I guess this could be added to collaboration instead of having it in every repo.
Please register or sign in to reply