File tree Expand file tree Collapse file tree 4 files changed +18
-2
lines changed
Expand file tree Collapse file tree 4 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88## [ Unreleased]
99
1010
11+ ## [ 2.0.2] - 2024-11-11
12+
13+ ### Fixed
14+ - Renamed license file to ` LICENSE ` and included it in the generated zip for publishing in main QGIS plugins portal
15+
16+
1117## [ 2.0.1] - 2024-11-11
1218
1319### Fixed
@@ -147,7 +153,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
147153### Added
148154- First stable release
149155
150- [ unreleased ] : https://github.com/ricardogsilva/qgisconefor/compare/v2.0.1...main
156+ [ unreleased ] : https://github.com/ricardogsilva/qgisconefor/compare/v2.0.2...main
157+ [ 2.0.2 ] : https://github.com/ricardogsilva/qgisconefor/compare/v2.0.1...v2.0.2
151158[ 2.0.1 ] : https://github.com/ricardogsilva/qgisconefor/compare/v2.0.0...v2.0.1
152159[ 2.0.0 ] : https://github.com/ricardogsilva/qgisconefor/compare/v2.0.0-rc9...v2.0.0
153160[ 2.0.0-rc9 ] : https://github.com/ricardogsilva/qgisconefor/compare/v2.0.0-rc8...v2.0.0-rc9
File renamed without changes.
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " qgisconefor"
3- version = " 2.0.1 "
3+ version = " 2.0.2 "
44description = " A QGIS plugin to integrate with the Conefor landscape conectivity analysis software."
55authors = [
" Ricardo Garcia Silva <[email protected] >" ]
66readme = " README.md"
Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ def build(
9393 print ("Could not copy icon" )
9494 compile_resources (output_dir )
9595 generate_metadata (context , output_dir )
96+ copy_license (output_dir )
9697 return output_dir
9798
9899
@@ -125,6 +126,14 @@ def copy_source_files(
125126 handler (str (child .resolve ()), str (target_path ))
126127
127128
129+ def copy_license (output_dir : Path ):
130+ output_dir .mkdir (parents = True , exist_ok = True )
131+ license_file_name = "LICENSE"
132+ license_path = LOCAL_ROOT_DIR / license_file_name
133+ target_path = output_dir / license_file_name
134+ shutil .copy (license_path , target_path )
135+
136+
128137@app .command ()
129138def compile_resources (
130139 output_dir : typing .Optional [Path ] = LOCAL_ROOT_DIR / "build/temp" ,
You can’t perform that action at this time.
0 commit comments