diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ef8e5b1..4073528a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ All notable changes to Tarn are documented in this file. The format is based on ## [Unreleased] +## [0.1.2] - 2026-11-17 + ### Added - About links the privacy notice, the imprint and the open-source licence list (macOS, Windows, @@ -24,61 +26,9 @@ All notable changes to Tarn are documented in this file. The format is based on in Settings › Extensions built only from Tarn's verified catalog, and nothing is downloaded until you press Install there; Settings › Extensions links the store (macOS, Windows, Linux, iOS, Android). - -### Changed - -- The privacy notice names Quavon UG (haftungsbeschränkt) as controller, gives the legal basis and - your rights, and states per client what it describes. - -### Security - -- On Android, Tarn's own requests and file downloads refuse a server whose verified certificate - path, root included, holds an RSA key under 2048 bits or an elliptic-curve key under 224 bits. - -### Added - - Site icons in tiles, tab rows, split panes, history, bookmarks, suggestions and the site and share popovers on Linux, and on tab cards and the share sheet on iOS, kept per profile as on macOS. Android shows letter tiles and makes no icon request of its own. - -### Changed - -- Toasts are centred pills sized to their message on every client. A copied link or a saved page - shows a green check, and a failure such as a Reading List save that did not work shows an amber - warning. -- The Shield card follows the theme: dawn with the sun behind the peak in light themes, night - with stars, a crescent and an aurora in dark ones; New Design still reshapes the ridges (macOS, - Windows, Linux, iOS, Android). -- The sidebar opens with a space switcher, downloads and the profile's avatar; the selected tab is - an outlined row with its close button, pinned and sleeping tabs show a glyph, and Library, the - spaces, New Space and Settings sit at the bottom (macOS, Windows, Linux); Clean Up is a button - beside New Tab Group and New Folder (macOS, Windows). -- The address field starts with a Shield chip that shows how much Shield stopped on the site and - opens Site Settings; Split View and Share sit beside it, and Settings moved to the sidebar - (macOS, Windows, Linux). On phones the address and the Shield chip sit in the bottom bar above - Back, Forward, New Tab, Tabs and Menu (iOS, Android). -- Typing an address or `>` opens a centred palette over the page with sections, a glyph per row, - shortcuts as key caps and key hints (macOS, Windows, Linux). -- Site Settings shows what Shield stopped on the site, the site's Shield switch, what the chosen - level does and the site's options in one grouped list; rarer ones sit behind More site settings - (macOS, Windows, Linux). -- Share opens a menu with Copy Link, Copy Clean Link, Show QR Code and, where the system offers - them, More…, Save Page as PDF and Print… (macOS, Windows, Linux); on phones a share sheet slides - up (iOS, Android). -- Permission prompts lead with a glyph, the site in bold and a line on what allowing means; the - find bar is a pill at the page's top right; downloads show a file-type tile, the size and a - progress bar (macOS, Windows, Linux, iOS, Android). -- Settings groups its panes under You and Browser; the Profile pane shows the card beside its - numbers and Shield level with Flip, Change Design and Share Card, one chart of the week and the - most protected sites; Appearance is a grouped list (macOS, Windows, Linux, iOS, Android). -- Menus Tarn builds show a glyph beside each entry (macOS, Windows, Linux). Popovers, sheets and - prompts pop in and out, switches slide, tab rows grow and shrink, all with the shared timings - and none under Reduce Motion (macOS, Windows, Linux, iOS, Android). - -## [0.1.1] - 2026-11-16 - -### Added - - Every release carries a CycloneDX SBOM for each client (macOS, Windows, Linux, iOS, Android), and `SECURITY.md` explains how to verify a download's checksum, attestation and signature. - Nightly builds: Settings › General › Nightly builds updates Tarn every day to a signed build of @@ -177,12 +127,55 @@ All notable changes to Tarn are documented in this file. The format is based on ### Changed +- The privacy notice names Quavon UG (haftungsbeschränkt) as controller, gives the legal basis and + your rights, and states per client what it describes. +- Toasts are centred pills sized to their message on every client. A copied link or a saved page + shows a green check, and a failure such as a Reading List save that did not work shows an amber + warning. +- The Shield card follows the theme: dawn with the sun behind the peak in light themes, night + with stars, a crescent and an aurora in dark ones; New Design still reshapes the ridges (macOS, + Windows, Linux, iOS, Android). +- The sidebar opens with a space switcher, downloads and the profile's avatar; the selected tab is + an outlined row with its close button, pinned and sleeping tabs show a glyph, and Library, the + spaces, New Space and Settings sit at the bottom (macOS, Windows, Linux); Clean Up is a button + beside New Tab Group and New Folder (macOS, Windows). +- The address field starts with a Shield chip that shows how much Shield stopped on the site and + opens Site Settings; Split View and Share sit beside it, and Settings moved to the sidebar + (macOS, Windows, Linux). On phones the address and the Shield chip sit in the bottom bar above + Back, Forward, New Tab, Tabs and Menu (iOS, Android). +- Typing an address or `>` opens a centred palette over the page with sections, a glyph per row, + shortcuts as key caps and key hints (macOS, Windows, Linux). +- Site Settings shows what Shield stopped on the site, the site's Shield switch, what the chosen + level does and the site's options in one grouped list; rarer ones sit behind More site settings + (macOS, Windows, Linux). +- Share opens a menu with Copy Link, Copy Clean Link, Show QR Code and, where the system offers + them, More…, Save Page as PDF and Print… (macOS, Windows, Linux); on phones a share sheet slides + up (iOS, Android). +- Permission prompts lead with a glyph, the site in bold and a line on what allowing means; the + find bar is a pill at the page's top right; downloads show a file-type tile, the size and a + progress bar (macOS, Windows, Linux, iOS, Android). +- Settings groups its panes under You and Browser; the Profile pane shows the card beside its + numbers and Shield level with Flip, Change Design and Share Card, one chart of the week and the + most protected sites; Appearance is a grouped list (macOS, Windows, Linux, iOS, Android). +- Menus Tarn builds show a glyph beside each entry (macOS, Windows, Linux). Popovers, sheets and + prompts pop in and out, switches slide, tab rows grow and shrink, all with the shared timings + and none under Reduce Motion (macOS, Windows, Linux, iOS, Android). - A split's tabs show side by side in one row of the sidebar, and in one card of the tab grid on iPad and Android tablets (macOS, Windows, Linux, iOS, Android). - The app identifier is `de.quavon.tarn` (was `dev.tarn.browser`) on macOS, iOS and Android. On macOS the first start moves the website data over; Tarn has to be made the default browser again, camera and microphone permissions are asked again, and a saved Anthropic API token has to be entered again. +- Pop-ups share one look and motion on macOS and Windows: toasts, the QR code card, the tab hover + card and tooltips cast the same shadow as Site Settings and Downloads, the QR card fades out, + the shortcuts sheet and reader rise in, and shadows follow one elevation scale. Menus opened from + a button (the Windows menu button, "Always open in") drop from the button instead of the pointer. + The find bar uses icon buttons with their shortcuts in tooltips. Dragging a tab over another + shows a line where it will land. The start page's fog and search effect animate only in the + front window. +- Tarn is now licensed under the GNU General Public License v3.0 or later (`GPL-3.0-or-later`). + Only Quavon UG (haftungsbeschränkt) may distribute it through app stores + (`LICENSE-APP-STORE.md`), and the Tarn name, logo and app icon are trademarks (`TRADEMARKS.md`). ### Fixed @@ -275,22 +268,15 @@ All notable changes to Tarn are documented in this file. The format is based on - The menu bar shows a changed shortcut at once, while Settings is still in front. - A closed private tab's row no longer flashes in the matching normal space, and reopening a tab right after closing it no longer drops its collapsing row early. - -### Changed - -- Pop-ups share one look and motion on macOS and Windows: toasts, the QR code card, the tab hover - card and tooltips cast the same shadow as Site Settings and Downloads, the QR card fades out, - the shortcuts sheet and reader rise in, and shadows follow one elevation scale. Menus opened from - a button (the Windows menu button, "Always open in") drop from the button instead of the pointer. - The find bar uses icon buttons with their shortcuts in tooltips. Dragging a tab over another - shows a line where it will land. The start page's fog and search effect animate only in the - front window. -- Tarn is now licensed under the GNU General Public License v3.0 or later (`GPL-3.0-or-later`). - Only Quavon UG (haftungsbeschränkt) may distribute it through app stores - (`LICENSE-APP-STORE.md`), and the Tarn name, logo and app icon are trademarks (`TRADEMARKS.md`). +- Windows: the installer always installs into the current user's `AppData\Local\Programs\Tarn`, + also after the user profile moved to another drive, and a link set up with Make Default follows + the install to its new folder. Without `LOCALAPPDATA` in its environment, Tarn keeps its data in + the Local AppData folder Windows reports instead of the folder it was started from. ### Security +- On Android, Tarn's own requests and file downloads refuse a server whose verified certificate + path, root included, holds an RSA key under 2048 bits or an elliptic-curve key under 224 bits. - The cookie bridge between WebKit and Chromium no longer gives Chromium a less restricted copy of a cookie set without `SameSite` (macOS): WebKit reports such cookies as `SameSite=None`, and the bridge now reads them as `Lax`, as Chromium does. Sign-ins made in WebKit reach Chromium tabs @@ -310,6 +296,6 @@ All notable changes to Tarn are documented in this file. The format is based on - One address field for URLs, search, open tabs and app actions, with configurable shortcuts. - Split View, link peek, tab groups, pinned tabs that remember their page and sleeping tabs. -[Unreleased]: https://github.com/Quavon-dev/tarn-browser/compare/v0.1.1...HEAD -[0.1.1]: https://github.com/Quavon-dev/tarn-browser/compare/v0.1.0...v0.1.1 +[Unreleased]: https://github.com/Quavon-dev/tarn-browser/compare/v0.1.2...HEAD +[0.1.2]: https://github.com/Quavon-dev/tarn-browser/compare/v0.1.0...v0.1.2 [0.1.0]: https://github.com/Quavon-dev/tarn-browser/releases/tag/v0.1.0 diff --git a/Cargo.lock b/Cargo.lock index 967484a7..e5512434 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -87,7 +87,7 @@ dependencies = [ [[package]] name = "ai" -version = "0.1.1" +version = "0.1.2" dependencies = [ "platform", "pulldown-cmark", @@ -176,7 +176,7 @@ checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" [[package]] name = "app" -version = "0.1.1" +version = "0.1.2" dependencies = [ "browser-core", "devkit", @@ -201,7 +201,7 @@ dependencies = [ [[package]] name = "app-dll" -version = "0.1.1" +version = "0.1.2" dependencies = [ "app", "engine", @@ -831,7 +831,7 @@ dependencies = [ [[package]] name = "browser-core" -version = "0.1.1" +version = "0.1.2" dependencies = [ "cssparser", "engine", @@ -1066,7 +1066,7 @@ dependencies = [ [[package]] name = "chromium-helper" -version = "0.1.1" +version = "0.1.2" dependencies = [ "cef", ] @@ -1146,7 +1146,7 @@ checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486" [[package]] name = "cli-bridge" -version = "0.1.1" +version = "0.1.2" dependencies = [ "serde", "serde_json", @@ -1727,7 +1727,7 @@ dependencies = [ [[package]] name = "devkit" -version = "0.1.1" +version = "0.1.2" dependencies = [ "serde_json", ] @@ -1993,7 +1993,7 @@ checksum = "66b7e2430c6dff6a955451e2cfc438f09cea1965a9d6f87f7e3b90decc014099" [[package]] name = "engine" -version = "0.1.1" +version = "0.1.2" dependencies = [ "base64 0.22.1", "block2", @@ -2221,7 +2221,7 @@ dependencies = [ [[package]] name = "filter-bundle" -version = "0.1.1" +version = "0.1.2" dependencies = [ "base64 0.22.1", "ed25519-dalek", @@ -3332,7 +3332,7 @@ checksum = "6e44b0a4eaa4c82f441d50a963f2d5f05a787240aeee097597033e72accfd22f" [[package]] name = "import" -version = "0.1.1" +version = "0.1.2" dependencies = [ "aes", "cbc", @@ -4699,7 +4699,7 @@ checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548" [[package]] name = "platform" -version = "0.1.1" +version = "0.1.2" dependencies = [ "base64 0.22.1", "block2", @@ -5866,7 +5866,7 @@ dependencies = [ [[package]] name = "shield" -version = "0.1.1" +version = "0.1.2" dependencies = [ "adblock", "ed25519-dalek", @@ -6093,7 +6093,7 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "store" -version = "0.1.1" +version = "0.1.2" dependencies = [ "rusqlite", "serde_json", @@ -6306,7 +6306,7 @@ dependencies = [ [[package]] name = "sync" -version = "0.1.1" +version = "0.1.2" dependencies = [ "argon2", "chacha20poly1305", @@ -6856,7 +6856,7 @@ dependencies = [ [[package]] name = "ui" -version = "0.1.1" +version = "0.1.2" dependencies = [ "browser-core", "engine", diff --git a/Cargo.toml b/Cargo.toml index 067fe015..716d9f4e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ members = ["crates/*"] exclude = ["mobile", "linux", "nsh-shared"] [workspace.package] -version = "0.1.1" +version = "0.1.2" edition = "2024" license = "GPL-3.0-or-later" description = "A privacy-first web browser for macOS, Windows, Linux, iOS and Android." diff --git a/fuzz/Cargo.lock b/fuzz/Cargo.lock index e3f8af08..aae7231e 100644 --- a/fuzz/Cargo.lock +++ b/fuzz/Cargo.lock @@ -194,7 +194,7 @@ dependencies = [ [[package]] name = "browser-core" -version = "0.1.1" +version = "0.1.2" dependencies = [ "cssparser", "engine", @@ -502,7 +502,7 @@ checksum = "9e9de72ce2ad1f90dc62fa25f0f430ef85eb4b0d8fa0be4f30373bc40a21d28e" [[package]] name = "devkit" -version = "0.1.1" +version = "0.1.2" dependencies = [ "serde_json", ] @@ -632,7 +632,7 @@ checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0" [[package]] name = "engine" -version = "0.1.1" +version = "0.1.2" dependencies = [ "block2", "cef", @@ -972,7 +972,7 @@ dependencies = [ [[package]] name = "import" -version = "0.1.1" +version = "0.1.2" dependencies = [ "aes", "cbc", @@ -1733,7 +1733,7 @@ dependencies = [ [[package]] name = "shield" -version = "0.1.1" +version = "0.1.2" dependencies = [ "adblock", "ed25519-dalek", @@ -1792,7 +1792,7 @@ checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" [[package]] name = "store" -version = "0.1.1" +version = "0.1.2" dependencies = [ "rusqlite", "serde_json", diff --git a/linux/Cargo.lock b/linux/Cargo.lock index a5e7ebc6..6624dc19 100644 --- a/linux/Cargo.lock +++ b/linux/Cargo.lock @@ -298,7 +298,7 @@ dependencies = [ [[package]] name = "browser-core" -version = "0.1.1" +version = "0.1.2" dependencies = [ "cssparser", "engine", @@ -996,7 +996,7 @@ dependencies = [ [[package]] name = "engine" -version = "0.1.1" +version = "0.1.2" dependencies = [ "base64 0.22.1", "block2", @@ -2046,7 +2046,7 @@ dependencies = [ [[package]] name = "import" -version = "0.1.1" +version = "0.1.2" dependencies = [ "aes", "cbc", @@ -3786,7 +3786,7 @@ dependencies = [ [[package]] name = "shield" -version = "0.1.1" +version = "0.1.2" dependencies = [ "adblock", "ed25519-dalek 3.0.0", @@ -3947,7 +3947,7 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "store" -version = "0.1.1" +version = "0.1.2" dependencies = [ "rusqlite", "serde_json", @@ -4124,7 +4124,7 @@ checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca" [[package]] name = "tarn-linux" -version = "0.1.1" +version = "0.1.2" dependencies = [ "browser-core", "engine", diff --git a/linux/Cargo.toml b/linux/Cargo.toml index a1cbf020..e61d3f77 100644 --- a/linux/Cargo.toml +++ b/linux/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tarn-linux" -version = "0.1.1" +version = "0.1.2" edition = "2024" license = "GPL-3.0-or-later" publish = false diff --git a/linux/packaging/arch/PKGBUILD b/linux/packaging/arch/PKGBUILD index 7bcbb8db..5fcf0a9d 100644 --- a/linux/packaging/arch/PKGBUILD +++ b/linux/packaging/arch/PKGBUILD @@ -1,5 +1,5 @@ pkgname=tarn -pkgver=0.1.1 +pkgver=0.1.2 pkgrel=1 pkgdesc='Private web browser on the system WebKitGTK 6.0' arch=('x86_64' 'aarch64') diff --git a/linux/packaging/flatpak/de.quavon.tarn.metainfo.xml b/linux/packaging/flatpak/de.quavon.tarn.metainfo.xml index d457d42d..6cd20301 100644 --- a/linux/packaging/flatpak/de.quavon.tarn.metainfo.xml +++ b/linux/packaging/flatpak/de.quavon.tarn.metainfo.xml @@ -57,6 +57,11 @@ + + +

Redesigned interface, Tarn extensions, site icons, nightly builds and licence notices.

+
+

First release.

diff --git a/linux/packaging/rpm/tarn.spec b/linux/packaging/rpm/tarn.spec index 1665f523..26e1a87d 100644 --- a/linux/packaging/rpm/tarn.spec +++ b/linux/packaging/rpm/tarn.spec @@ -1,5 +1,5 @@ Name: tarn -Version: 0.1.1 +Version: 0.1.2 Release: 1%{?dist} Summary: Private web browser on the system WebKitGTK 6.0 License: GPL-3.0-or-later diff --git a/mobile/Cargo.lock b/mobile/Cargo.lock index d6067e2f..326d8a5d 100644 --- a/mobile/Cargo.lock +++ b/mobile/Cargo.lock @@ -434,7 +434,7 @@ dependencies = [ [[package]] name = "browser-core" -version = "0.1.1" +version = "0.1.2" dependencies = [ "cssparser", "engine", @@ -1338,7 +1338,7 @@ dependencies = [ [[package]] name = "engine" -version = "0.1.1" +version = "0.1.2" dependencies = [ "base64 0.22.1", "block2", @@ -2120,7 +2120,7 @@ dependencies = [ [[package]] name = "import" -version = "0.1.1" +version = "0.1.2" dependencies = [ "aes 0.8.4", "cbc 0.1.2", @@ -4427,7 +4427,7 @@ dependencies = [ [[package]] name = "shield" -version = "0.1.1" +version = "0.1.2" dependencies = [ "adblock", "ed25519-dalek 3.0.0", @@ -4594,7 +4594,7 @@ checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" [[package]] name = "store" -version = "0.1.1" +version = "0.1.2" dependencies = [ "rusqlite", "serde_json", @@ -4739,7 +4739,7 @@ dependencies = [ [[package]] name = "tarn-mobile" -version = "0.1.1" +version = "0.1.2" dependencies = [ "browser-core", "engine", @@ -4761,7 +4761,7 @@ dependencies = [ [[package]] name = "tarn-mobile-android" -version = "0.1.1" +version = "0.1.2" dependencies = [ "browser-core", "engine", @@ -4774,7 +4774,7 @@ dependencies = [ [[package]] name = "tarn-mobile-ios" -version = "0.1.1" +version = "0.1.2" dependencies = [ "block2", "browser-core", diff --git a/mobile/Cargo.toml b/mobile/Cargo.toml index 777e80f3..4d5c9758 100644 --- a/mobile/Cargo.toml +++ b/mobile/Cargo.toml @@ -3,7 +3,7 @@ resolver = "3" members = ["app", "ios", "android/rust"] [workspace.package] -version = "0.1.1" +version = "0.1.2" edition = "2024" license = "GPL-3.0-or-later" publish = false diff --git a/mobile/android/host/build.gradle.kts b/mobile/android/host/build.gradle.kts index 0faa88bf..dcee0bad 100644 --- a/mobile/android/host/build.gradle.kts +++ b/mobile/android/host/build.gradle.kts @@ -11,8 +11,8 @@ android { applicationId = "de.quavon.tarn" minSdk = 28 targetSdk = 36 - versionCode = 2 - versionName = "0.1.1" + versionCode = 3 + versionName = "0.1.2" ndk { abiFilters += "arm64-v8a" } diff --git a/mobile/app/nsh.json b/mobile/app/nsh.json index 4d219f0f..e713bd15 100644 --- a/mobile/app/nsh.json +++ b/mobile/app/nsh.json @@ -1,8 +1,8 @@ { "name": "Tarn", "id": "de.quavon.tarn", - "version": "0.1.1", - "build": 2, + "version": "0.1.2", + "build": 3, "icon": "assets/brand/icon.png", "rust": ".", "root": "App", diff --git a/nsh-shared/Cargo.lock b/nsh-shared/Cargo.lock index b5aa6b24..e5824de4 100644 --- a/nsh-shared/Cargo.lock +++ b/nsh-shared/Cargo.lock @@ -286,7 +286,7 @@ dependencies = [ [[package]] name = "browser-core" -version = "0.1.1" +version = "0.1.2" dependencies = [ "cssparser", "engine", @@ -927,7 +927,7 @@ dependencies = [ [[package]] name = "engine" -version = "0.1.1" +version = "0.1.2" dependencies = [ "base64 0.22.1", "block2", @@ -1530,7 +1530,7 @@ dependencies = [ [[package]] name = "import" -version = "0.1.1" +version = "0.1.2" dependencies = [ "aes", "cbc", @@ -2952,7 +2952,7 @@ dependencies = [ [[package]] name = "shield" -version = "0.1.1" +version = "0.1.2" dependencies = [ "adblock", "ed25519-dalek 3.0.0", @@ -3072,7 +3072,7 @@ checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" [[package]] name = "store" -version = "0.1.1" +version = "0.1.2" dependencies = [ "rusqlite", "serde_json", diff --git a/scripts/check-entitlements.sh b/scripts/check-entitlements.sh index 5ff5ae0c..13a0858e 100755 --- a/scripts/check-entitlements.sh +++ b/scripts/check-entitlements.sh @@ -20,11 +20,12 @@ check() { local target="$1" expected="$2" codesign -d --entitlements - --xml "$target" 2>/dev/null > "$plist" || true local actual="" - [[ -s "$plist" ]] && actual="$(plutil -p "$plist" | awk ' - /=> \[$/ { key = $1; gsub(/"/, "", key); items = 0; next } - /^ *\]$/ { if (!items) print key " []"; key = ""; next } - key != "" { value = $3; gsub(/"/, "", value); print key " " value; items++; next } - /=>/ { name = $1; gsub(/"/, "", name); print name " " $3 }' | sort)" + if [[ -s "$plist" ]]; then + actual="$(plutil -convert json -o - "$plist" | jq -r 'to_entries[] + | if (.value | type) != "array" then "\(.key) \(.value)" + elif .value == [] then "\(.key) []" + else "\(.key) \(.value[])" end' | sort)" || actual="" + fi local wanted="" [[ -n "$expected" ]] && wanted="$(printf '%s\n' "$expected" | sort)" if [[ "$actual" != "$wanted" ]]; then diff --git a/scripts/check-version.sh b/scripts/check-version.sh index ee656ec9..19faf640 100755 --- a/scripts/check-version.sh +++ b/scripts/check-version.sh @@ -17,6 +17,7 @@ check mobile/app/nsh.json 's/^ "version": "\(.*\)",$/\1/p' check mobile/android/host/build.gradle.kts 's/^ *versionName = "\(.*\)"$/\1/p' check linux/packaging/rpm/tarn.spec 's/^Version: *\(.*\)$/\1/p' check linux/packaging/arch/PKGBUILD 's/^pkgver=\(.*\)$/\1/p' -awk -v head="## [$want]" 'index($0, head) == 1 { found = 1; next } /^## \[/ { found = 0 } found && !/^\[[^]]+\]: /' CHANGELOG.md | grep -q '[^[:space:]]' \ +awk -v head="## [$want]" 'index($0, head) == 1 { found = 1; next } /^## \[/ { found = 0 } + found && !/^\[[^]]+\]: / && /[^[:space:]]/ { ok = 1 } END { exit !ok }' CHANGELOG.md \ || { echo "CHANGELOG.md has no '## [$want]' section with entries; the release notes come from it" >&2; status=1; } exit "$status"