@limetech/semantic-release-lime-buildtools
v1.7.1
Published
semantic-release shareable config to publish lime projects built with Python and Lime Buildtools
Downloads
4,058
Keywords
Readme
Description
Lime CI/CD with Github Actions has the following path/workflow to publish:
We use a nodejs based semantic-release package, https://github.com/semantic-release/semantic-release. In order to use it both in python and js/nodejs (frontend), we use semantic-release plugin/extend system with combination of lime-buildtools package.
1.https://github.com/Lundalogik/semantic-release-lime-buildtools/blob/master/index.js
2.prepareCmd: ‘lime-buildtools version ${nextRelease.version}’,
3.publishCmd: ‘lime-buildtools semantic-release-build’,
- (2) and (3) are the glue with lime-buidtools with cli commands
Install
$ npm install --save-dev semantic-release @lime/semantic-release-lime-buildtools
Requires
- Python 3.7
- lime-buildtools
- Poetry (if project is poetry based)
Usage
The shareable config can be configured in the semantic-release configuration file:
{
"extends": "@lime/semantic-release-lime-buildtools"
}
The basic following enviromental variables set
- LIME_PROJECT_TYPE:
solution
orpackage
. This will decied how the project is built - PYPI_PASS: Password for uploading to pypi (only for packages)
- PYPI_USER: Username for uploading to pypi (only for packages)
more informations in lime-buildtools cli envs.