Skip to content

Commit 2013a64

Browse files
Add changelog
1 parent 48b436b commit 2013a64

2 files changed

Lines changed: 38 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,20 +175,43 @@ jobs:
175175
PIP_EXTRA_INDEX_URL: ""
176176
PIP_NO_CACHE_DIR: "1"
177177
run: |
178+
uv run python -V
178179
uv run python -m pip config debug
180+
uv run python -m pip --version
181+
uv run python -m pip debug --verbose | sed -n '1,120p'
179182
uv run python -m pip index versions PySide6 -i https://pypi.org/simple
183+
uv run python -m pip download --no-deps "pyside6==6.11.0" -i https://pypi.org/simple -d /tmp/pyside6-test
184+
ls -la /tmp/pyside6-test
180185
env | sort | grep '^PIP_' || true
181186
187+
- name: Debug constraints file (macOS)
188+
run: |
189+
ls -la constraints-briefcase.txt
190+
sed -n '1,120p' constraints-briefcase.txt
191+
rg '^pyside6' constraints-briefcase.txt || true
192+
182193
- name: Briefcase create / build / package (dmg)
183194
env:
184195
QT_QPA_PLATFORM: offscreen
185196
PIP_INDEX_URL: https://pypi.org/simple
186197
PIP_EXTRA_INDEX_URL: ""
187198
PIP_NO_CACHE_DIR: "1"
188199
run: |
189-
uv run briefcase create macOS app
190-
uv run briefcase build macOS app
191-
uv run briefcase package macOS -p dmg
200+
set -euo pipefail
201+
uv run briefcase -v create macOS app || {
202+
status=$?
203+
echo "Briefcase create failed; dumping saved create log if present..."
204+
ls -la logs || true
205+
latest_log=$(ls -1t logs/briefcase.*.create.log 2>/dev/null | head -n 1 || true)
206+
if [ -n "${latest_log}" ]; then
207+
echo "---- Begin ${latest_log} ----"
208+
sed -n '1,260p' "${latest_log}" || true
209+
echo "---- End ${latest_log} ----"
210+
fi
211+
exit "${status}"
212+
}
213+
uv run briefcase -v build macOS app
214+
uv run briefcase -v package macOS -p dmg
192215
193216
- name: Validate macOS signing secrets (optional gate)
194217
if: ${{ github.event_name == 'workflow_dispatch' && inputs.sign_artifacts }}

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
### Added
11+
- Initial changelog scaffold following Keep a Changelog 1.1.0.
12+

0 commit comments

Comments
 (0)