10 Commits

Author SHA1 Message Date
5d7bb7a1df fix: checkout action in release workflow
Some checks failed
release / Release (push) Failing after 14s
2025-05-09 11:26:30 +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
b2a3412139 0.3.1
Automatically generated by python-semantic-release
2025-05-06 14:44:43 +00:00
e2b1db4544 fix: modules in the right place
All checks were successful
release / Release (push) Successful in 15s
2025-05-06 16:43:41 +02:00
65d7479ed7 0.3.0
Automatically generated by python-semantic-release
2025-05-06 14:40:16 +00:00
70e8ac0891 feat: add missing modules
All checks were successful
release / Release (push) Successful in 14s
2025-05-06 16:39:32 +02:00
6 changed files with 38 additions and 8 deletions

View File

@ -3,7 +3,6 @@ on:
push: push:
branches: branches:
- main - main
- feat/release_actions
permissions: permissions:
contents: read contents: read
@ -14,14 +13,11 @@ 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
with: with:
fetch-depth: 0 fetch-depth: 1
- name: run_release - name: run_release
env: env:
GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}

View File

@ -1,6 +1,38 @@
# CHANGELOG # CHANGELOG
## 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)
### Bug Fixes
- Modules in the right place
([`e2b1db4`](https://gitea.psi.ch/bec/bec_plugin_copier_template/commit/e2b1db45442eb8dff410477273dace5e55669bbd))
## v0.3.0 (2025-05-06)
### Features
- Add missing modules
([`70e8ac0`](https://gitea.psi.ch/bec/bec_plugin_copier_template/commit/70e8ac0891e234ddd9e5e546072f5e13c4aea9e1))
## v0.2.3 (2025-05-06) ## v0.2.3 (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 />

View File

View File