Template
A stage tag (v*) now builds, with kicad-cli, pandoc and pdflatex in the CI image (.gitea/scripts/release-files.py): - per board: Gerbers + Excellon drill zip (JLCPCB-compatible settings), BOM (grouped, DNP left out), pick and place, schematic and PCB PDFs, 3D renders; - docs/*.md and docs/tex/*.tex as PDF, tag and commit in the footer; - release/README.md with tag, commit, ERC/DRC result, files, SHA-256 and the stage's CHANGELOG section. Every file name carries the tag. release-attach.py attaches the files plus a zip of the whole folder to the tag's release (replacing assets of an earlier run); for the newest stage tag (not older stages, not pre-releases) the job commits them to release/ on main with [skip ci]. .gitignore: !/release/ after Release/ (Windows matches it case-insensitively); .gitattributes: release/** -text so the SHA-256 match on every checkout. TEMPLATE.md: "Release files" section, rules and CI updated. Tested in git.b4l.co.th/b4l/kicad10_auto_node with harNES's board and docs: v0.1 committed, v0.0 and v0.2-rc.1 left release/ alone, v0.2 tagged on an older commit landed on top of a moved main; uploads byte-exact against a stub of the Gitea release API.
41 lines
640 B
Plaintext
41 lines
640 B
Plaintext
# KiCad: backups, locks, local settings, caches
|
|
*-backups/
|
|
*.kicad_prl
|
|
*.lck
|
|
*.bak
|
|
*.bck
|
|
*.kicad_pcb-bak
|
|
*.kicad_sch-bak
|
|
_autosave-*
|
|
fp-info-cache
|
|
\#auto_saved_files\#
|
|
|
|
# FreeCAD backups
|
|
*.FCBak
|
|
*.FCStd1
|
|
|
|
# IDE build output and tool caches
|
|
Debug/
|
|
Release/
|
|
build/
|
|
__pycache__/
|
|
*.pyc
|
|
.venv/
|
|
node_modules/
|
|
.history/
|
|
.claude/
|
|
.vscode/
|
|
.idea/
|
|
|
|
# Generated output: CI builds it and attaches it to the release
|
|
Generated/
|
|
Fabrication/
|
|
kibot_output_*/
|
|
# ...except release/, the newest stage's files, which CI commits (release.yml).
|
|
# Without this line Release/ above would hide it on Windows (case-insensitive).
|
|
!/release/
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|