Skip to content

Commit

Permalink
Update build scripts to new QGIS profile name
Browse files Browse the repository at this point in the history
  • Loading branch information
piMoll committed Nov 27, 2024
1 parent b3e844b commit f7aa88a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
4 changes: 2 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import zipfile
from shutil import rmtree


QGIS_USER_PROFILE = 'PluginTest'
PKG_NAME = 'SEILAPLAN'
ZIP_EXCLUDES = [
'__pycache__',
Expand Down Expand Up @@ -41,7 +41,7 @@ def create_zip(zip_path, folder_path, ignore_patterns):
if __name__ == '__main__':
# Deploy to another qgis profile for testing and packing
import subprocess
run_pb_tool = subprocess.check_output(['pbt', 'deploy', '--user-profile', 'pi', '-y'])
run_pb_tool = subprocess.check_output(['pbt', 'deploy', '--user-profile', QGIS_USER_PROFILE, '-y'])

# Extract deploy path
outputList = run_pb_tool.split(b'\n')
Expand Down
14 changes: 3 additions & 11 deletions scripts/build_checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,14 @@
### 4. Add git tag with new version


### 5. Run plugin builder tool to copy plugin to other QGIS profile
Make sure there are no local changes!
```
export PATH="$PATH:/home/pi/.local/bin"
pbt deploy --user-profile pi -y
```


### 6. Run build script to create zip file and exclude all unnecessary files
### 5. Run build script to deploy plugin to a different QGIS profile, create zip file and exclude all unnecessary files
```python3 build.py```


### 7. Merge dev into master
### 6. Merge dev into master


### 8. Create release on github
### 7. Create release on github
1. Title: Seilaplan vx.y.z
2. Text: Add change log
3. Assets: Add Seilaplan.zip file

0 comments on commit f7aa88a

Please sign in to comment.