7 Commits

Author SHA1 Message Date
94ab73fd13 0.3.4
Automatically generated by python-semantic-release
2025-05-09 09:28:11 +00:00
46a2a9d214 fix: checkout action in release workflow
All checks were successful
release / Release (push) Successful in 14s
2025-05-09 11:27:54 +02:00
c807b4a0dc fix: remove unused filter
Some checks failed
release / Release (push) Failing after 41s
2025-05-08 14:19:11 +02:00
3857dda5cf 0.3.3
Automatically generated by python-semantic-release
2025-05-07 12:26:38 +00:00
b77ba350c3 fix: exclude .git from template
All checks were successful
release / Release (push) Successful in 15s
2025-05-07 14:26:14 +02:00
d29578f673 0.3.2
Automatically generated by python-semantic-release
2025-05-07 11:43:54 +00:00
53f243e455 fix: run compiler if there are ui files
All checks were successful
release / Release (push) Successful in 15s
2025-05-07 13:42:38 +02:00
4 changed files with 32 additions and 7 deletions

View File

@ -3,7 +3,6 @@ on:
push: push:
branches: branches:
- main - main
- feat/release_actions
permissions: permissions:
contents: read contents: read
@ -14,9 +13,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: write # to be able to publish a GitHub release contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4

View File

@ -1,6 +1,33 @@
# CHANGELOG # CHANGELOG
## v0.3.4 (2025-05-09)
### Bug Fixes
- Checkout action in release workflow
([`46a2a9d`](https://gitea.psi.ch/bec/bec_plugin_copier_template/commit/46a2a9d21451c4edaac78c468d0fa67a38f7d0b4))
- Remove unused filter
([`c807b4a`](https://gitea.psi.ch/bec/bec_plugin_copier_template/commit/c807b4a0dc508b8813422eaf24949d97f12c0ed8))
## v0.3.3 (2025-05-07)
### Bug Fixes
- Exclude .git from template
([`b77ba35`](https://gitea.psi.ch/bec/bec_plugin_copier_template/commit/b77ba350c37dc466d87ac885677a45b16ef0274d))
## v0.3.2 (2025-05-07)
### Bug Fixes
- Run compiler if there are ui files
([`53f243e`](https://gitea.psi.ch/bec/bec_plugin_copier_template/commit/53f243e4555779d95b13101eaf6596be392421a0))
## v0.3.1 (2025-05-06) ## v0.3.1 (2025-05-06)
### Bug Fixes ### Bug Fixes

View File

@ -1,5 +1,6 @@
_exclude: _exclude:
- ".gitea/" - ".gitea/"
- ".git/"
- "CHANGELOG.md" - "CHANGELOG.md"
# imports # imports
@ -75,7 +76,8 @@ ui_fileinfo: # would like to save this programatically when generated but don't
_tasks: _tasks:
- "git init --initial-branch=main" - "git init --initial-branch=main"
- > - >
{% if not ui_fileinfo %} {% if not ui_fileinfo %} echo "No .ui files to process"
{% else %}
{% for info in ui_fileinfo %}pyside6-uic {{ info.ui_file }} -o {{ info.out_file }}; {% for info in ui_fileinfo %}pyside6-uic {{ info.ui_file }} -o {{ info.out_file }};
{% endfor %} {% endfor %}
{% endif %} {% endif %}

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0"> <ui version="4.0">
<class>{{ widget_plugin.class | stash_filename }}</class> <class>{{ widget_plugin.class }}</class>
<widget class="QWidget" name="{{ widget_plugin.class }}"> <widget class="QWidget" name="{{ widget_plugin.module | snake_to_camel }}">
</widget> </widget>
<resources /> <resources />
<connections /> <connections />