make release only bumped wails.json, leaving build/config.yml info.version stale (it sat at 1.6.8 while wails.json moved to 1.99.0). Add a companion python one-liner that rewrites only the indented info.version line - the regex cannot match the top-level schema version 3 - and stage both files into the same bump commit. Marked TEMP until wails.json (v2 leftover) is retired. The companion NOTE in build/config.yml is updated to describe the automation and warn off the schema line. Verified with make -n dry-run and a scratch-copy regex proof (schema line byte-identical, single-line diff).
43 lines
974 B
YAML
43 lines
974 B
YAML
# Wails v3 project configuration.
|
|
# NOTE: `make release` bumps `info.version` below alongside wails.json.
|
|
# Never touch the top-level `version: '3'` — that is the config file schema,
|
|
# not the app version.
|
|
version: '3'
|
|
|
|
info:
|
|
companyName: "John O'Keefe"
|
|
productName: "AniTrack"
|
|
productIdentifier: "com.linuxhg.anitrack"
|
|
description: "Track anime watchlists across AniList, MyAnimeList, and Simkl"
|
|
copyright: "John O'Keefe"
|
|
version: "1.6.8"
|
|
|
|
# Dev mode configuration
|
|
dev_mode:
|
|
root_path: .
|
|
log_level: warn
|
|
debounce: 1000
|
|
ignore:
|
|
dir:
|
|
- .git
|
|
- node_modules
|
|
- frontend
|
|
- bin
|
|
file:
|
|
- .DS_Store
|
|
- .gitignore
|
|
- .gitkeep
|
|
- "*_test.go"
|
|
watched_extension:
|
|
- "*.go"
|
|
- "*.js"
|
|
- "*.ts"
|
|
git_ignore: true
|
|
executes:
|
|
- cmd: wails3 build DEV=true
|
|
type: blocking
|
|
- cmd: wails3 task common:dev:frontend
|
|
type: background
|
|
- cmd: wails3 task run
|
|
type: primary
|