File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -143,10 +143,6 @@ docs:
143143 rm -rf docs/_build/
144144 @${ACTIVATE} sphinx-build docs/ docs/_build/
145145
146- bump :
147- @echo " -> Bump the version"
148- @${ACTIVATE} bumpver update --no-fetch --patch
149-
150146docker-images :
151147 @echo " -> Build Docker services"
152148 docker compose build
@@ -163,4 +159,4 @@ offline-package: docker-images
163159 @mkdir -p dist/
164160 @tar -cf dist/scancodeio-offline-package-` git describe --tags` .tar build/
165161
166- .PHONY : virtualenv conf dev envfile install doc8 check valid check-deploy clean migrate upgrade postgresdb sqlitedb backupdb run run-docker-dev test fasttest docs bump docker-images offline-package
162+ .PHONY : virtualenv conf dev envfile install doc8 check valid check-deploy clean migrate upgrade postgresdb sqlitedb backupdb run run-docker-dev test fasttest docs docker-images offline-package
Original file line number Diff line number Diff line change 44
55- Create a new ` release-x.x.x ` branch
66- Update the version in:
7- - ` pyproject.toml ` (2 entries)
7+ - ` pyproject.toml `
88 - ` scancodeio/__init__.py `
99 - ` CHANGELOG.rst ` (set date)
1010- Commit and push this branch
2424```
2525cd scancode.io
2626source .venv/bin/activate
27- pip install build
27+ python -m pip install build
2828python -m build --sdist --wheel --outdir dist/ .
2929```
3030
Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" setuptools" , " wheel " ]
2+ requires = [" setuptools" ]
33build-backend = " setuptools.build_meta"
44
55[project ]
@@ -109,8 +109,6 @@ dev = [
109109 " sphinx-rtd-theme==3.0.2" ,
110110 " sphinx-rtd-dark-mode==1.3.0" ,
111111 " sphinxcontrib-django==2.5" ,
112- # Release
113- " bumpver==2024.1130"
114112]
115113android_analysis = [
116114 " android_inspector==0.0.1"
@@ -193,16 +191,3 @@ max-complexity = 10
193191"scanpipe/pipes/spdx.py" = [" UP006" , " UP035" ]
194192# Allow complexity in management commands
195193"scanpipe/management/commands/*" = [" C901" ]
196-
197- [tool .bumpver ]
198- version_pattern = " MAJOR.MINOR.PATCH"
199- current_version = " 35.0.0"
200-
201- [tool .bumpver .file_patterns ]
202- "pyproject.toml" = [
203- ' version = {version}' ,
204- ' current_version = "{version}"'
205- ]
206- "scancodeio/__init__.py" = [
207- " {version}"
208- ]
You can’t perform that action at this time.
0 commit comments