mirror of
https://github.com/zealdocs/zeal.git
synced 2026-08-29 08:34:50 +08:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7a881b6921 | |||
| e6a3eb7afc | |||
| 530fa44395 | |||
| c7bcf3d4b4 | |||
| f854fcf8d7 | |||
| cd12f8dcf5 | |||
| 5edfac529b |
@@ -163,6 +163,11 @@ jobs:
|
||||
if: matrix.config.publishArtifacts
|
||||
run: cmake --build --preset ${{ matrix.config.buildPreset }} --target package
|
||||
|
||||
- name: Test MSI
|
||||
if: matrix.config.publishArtifacts && matrix.config.configurePreset == 'release'
|
||||
shell: pwsh
|
||||
run: pwsh -NoProfile -File pkg/wix/tools/test-msi.ps1 -Install
|
||||
|
||||
- name: Upload ZIP Artifacts
|
||||
if: matrix.config.publishArtifacts
|
||||
uses: actions/upload-artifact@v7
|
||||
|
||||
@@ -19,7 +19,7 @@ env:
|
||||
# Ubuntu series as <codename>:<version> pairs. 24.04 (noble) is the floor; 22.04's
|
||||
# Qt 6.2 is too old. <version> forms the ~ubuntu<version> suffix, <codename> is the
|
||||
# changelog distribution. Launchpad rejects EOL or unknown series.
|
||||
SERIES: "noble:24.04 questing:25.10 resolute:26.04"
|
||||
SERIES: "noble:24.04 resolute:26.04"
|
||||
PPA: "ppa:zealdocs/ppa"
|
||||
|
||||
jobs:
|
||||
@@ -166,7 +166,9 @@ jobs:
|
||||
# Guard so one rejected series doesn't abort the rest (the if-context
|
||||
# suspends set -e). Flip `first` only on success, so the orig tarball
|
||||
# still ships with the next series if this upload failed.
|
||||
if ( cd "$work" && debuild --no-lintian -S "$tarball_opt" -k"$GPG_KEYID" -p"$HOME/.gpg-sign" ) \
|
||||
# -d skips the build-dependency check: nothing is compiled here, and
|
||||
# the dependencies are resolved on the Launchpad builders instead.
|
||||
if ( cd "$work" && debuild --no-lintian -d -S "$tarball_opt" -k"$GPG_KEYID" -p"$HOME/.gpg-sign" ) \
|
||||
&& dput "$PPA" "$src_root/zeal_${file_ver}_source.changes"; then
|
||||
first=false
|
||||
else
|
||||
|
||||
+2
-2
@@ -17,13 +17,13 @@ set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
|
||||
# When both match, the build is treated as a release; otherwise it's a dev build.
|
||||
# The `# x-version` marker on each version line acts as a sed anchor for the bump.
|
||||
project(Zeal
|
||||
VERSION 0.9.0 # x-version
|
||||
VERSION 0.9.1 # x-version
|
||||
DESCRIPTION "A simple documentation browser."
|
||||
HOMEPAGE_URL "https://zealdocs.org"
|
||||
LANGUAGES CXX
|
||||
)
|
||||
|
||||
set(ZEAL_RELEASE_VERSION "0.9.0") # x-version
|
||||
set(ZEAL_RELEASE_VERSION "0.9.1") # x-version
|
||||
|
||||
include(ZealHelpers)
|
||||
|
||||
|
||||
@@ -49,6 +49,14 @@
|
||||
<id>zeal.desktop</id>
|
||||
</provides>
|
||||
<releases>@ZEAL_APPSTREAM_DEV_RELEASE@
|
||||
<release date="2026-07-28" version="0.9.1" type="stable">
|
||||
<description>
|
||||
<ul>
|
||||
<li>Maintenance release with no changes for Linux users</li>
|
||||
</ul>
|
||||
</description>
|
||||
<url>https://github.com/zealdocs/zeal/releases/tag/v0.9.1</url>
|
||||
</release>
|
||||
<release date="2026-07-28" version="0.9.0" type="stable">
|
||||
<description>
|
||||
<ul>
|
||||
|
||||
@@ -14,10 +14,6 @@
|
||||
<MajorUpgrade Schedule="afterInstallInitialize" DowngradeErrorMessage="A later version of [ProductName] is already installed. Setup will now exit." />
|
||||
|
||||
<Launch Condition="VersionNT64" Message="This package can only be installed on 64-bit versions of Windows." />
|
||||
<!-- Qt supports Windows 10 version 1809 (build 17763) and later. Repair and removal of an
|
||||
existing installation remain possible on older builds, while an upgrade is refused
|
||||
there, since the newer version would not start. -->
|
||||
<Launch Condition="Installed OR WindowsBuild >= 17763" Message="[ProductName] requires Windows 10 version 1809 or later." />
|
||||
|
||||
<Property Id="WIXUI_INSTALLDIR" Value="INSTALL_ROOT" />
|
||||
|
||||
|
||||
@@ -75,20 +75,38 @@ would notice and care about. There is no target count: include a change \
|
||||
only if it earns its place, and leave out cosmetic trivia, internal \
|
||||
refactors, build/CI/dependency commits, and Windows-only or macOS-only \
|
||||
changes. If you cannot tell a change's user-visible effect from its diff, \
|
||||
omit it. Write each as one <li>...</li> bullet that starts with Added, \
|
||||
omit it. Write each as one plain-text line that starts with Added, \
|
||||
Changed, Removed, Deprecated, or Fixed, grouped in that order (Added first, \
|
||||
Fixed last) and most significant first within each group. Keep each bullet \
|
||||
Fixed last) and most significant first within each group. Keep each line \
|
||||
concrete and specific about what changed, in plain language a non-developer \
|
||||
understands; a short clause on why it helps is welcome. No trailing period. \
|
||||
Avoid AI cliches (em-dashes, 'delve into', 'leverage', 'robust', 'ensure', \
|
||||
'seamless', 'comprehensive'). Output the <li> lines only: no preamble, \
|
||||
commentary, or wrapping <ul>." \
|
||||
'seamless', 'comprehensive'). Output the lines only: no markup, numbering, \
|
||||
bullet characters, preamble, or commentary. If nothing qualifies, output \
|
||||
exactly one line reading: Maintenance release with no changes for Linux \
|
||||
users" \
|
||||
--allowedTools "Bash(git log:*) Bash(git show:*) Bash(git diff:*)" \
|
||||
< /dev/null \
|
||||
> build/appdata-bullets.txt
|
||||
|
||||
today=$(date -u +%Y-%m-%d)
|
||||
indented=$(sed 's/^[[:space:]]*//; s/^/ /' build/appdata-bullets.txt)
|
||||
|
||||
# Bullets arrive as plain text, one per line. Wrapping them here, rather than
|
||||
# asking for markup, keeps stray commentary from producing invalid XML.
|
||||
indented=$(while read -r line; do
|
||||
[ -n "$line" ] || continue
|
||||
# Ampersands are escaped as \& because bash 5.2+ reads a bare & in the
|
||||
# replacement as the matched text.
|
||||
line=${line//&/\&}
|
||||
line=${line//</\<}
|
||||
line=${line//>/\>}
|
||||
printf ' <li>%s</li>\n' "$line"
|
||||
done < build/appdata-bullets.txt)
|
||||
|
||||
if [ -z "$indented" ]; then
|
||||
echo "build/appdata-bullets.txt produced no bullets; aborting." >&2
|
||||
exit 1
|
||||
fi
|
||||
cat > build/release-block.xml <<EOF
|
||||
<release date="${today}" version="${VERSION}" type="stable">
|
||||
<description>
|
||||
|
||||
Reference in New Issue
Block a user