Skip to content

Commit 6b8333a

Browse files
nickolas122claude
andcommitted
Credit cagnulein, and point support at him rather than here
The fork inherited a README that reads as if it were the project. It is not: QZ is Roberto Viola's work and this repository is a delta on top of it, so the README, FORK.md and the release notes now say so first and link Patreon, Buy Me a Coffee and the paid apps. This fork takes no money and asks for none. Two bugs in the release job while I was in there. The asset names came out as qz-v2.21.6-qz.1-* while the notes advertised qz-2.21.6-qz.1-*, and the attempt to interpolate the FORK.md URL turned the notes heredoc unquoted - which would have run the fenced code blocks in the body as commands. The heredoc is quoted again and the URL goes in by substitution afterwards. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 3b73030 commit 6b8333a

3 files changed

Lines changed: 43 additions & 8 deletions

File tree

.github/workflows/main.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3157,15 +3157,24 @@ jobs:
31573157
run: |
31583158
cd dist
31593159
ls -l
3160-
mv windows-qt6-binary.zip "qz-${GITHUB_REF_NAME}-windows-qt6.zip"
3161-
mv android-debug.apk "qz-${GITHUB_REF_NAME}-android.apk"
3160+
# Without the leading v, so the names match the ones the release notes quote.
3161+
ver="${GITHUB_REF_NAME#v}"
3162+
mv windows-qt6-binary.zip "qz-${ver}-windows-qt6.zip"
3163+
mv android-debug.apk "qz-${ver}-android.apk"
31623164
ls -l
31633165
31643166
- name: Write the release notes
31653167
run: |
3168+
# Quoted heredoc on purpose: the body contains backticks, which an unquoted
3169+
# one would run as commands. Placeholders are substituted below instead.
31663170
cat > release-notes.md <<'NOTES'
3167-
A build of this fork of [qdomyos-zwift](https://github.com/cagnulein/qdomyos-zwift).
3168-
What it changes relative to upstream is listed in [FORK.md](../blob/main/FORK.md).
3171+
A build of a fork of [qdomyos-zwift](https://github.com/cagnulein/qdomyos-zwift),
3172+
which is the work of [Roberto Viola (cagnulein)](https://github.com/cagnulein) and
3173+
its contributors. Support him: [Patreon](https://www.patreon.com/cagnulein) -
3174+
[Buy Me a Coffee](https://www.buymeacoffee.com/cagnulein). This fork asks for nothing.
3175+
3176+
What it changes relative to upstream - including the device support it drops -
3177+
is listed in [FORK.md](FORKMDURL).
31693178
31703179
## Downloads
31713180
@@ -3187,6 +3196,7 @@ jobs:
31873196
```
31883197
NOTES
31893198
sed -i "s/VERSION/${GITHUB_REF_NAME#v}/g" release-notes.md
3199+
sed -i "s#FORKMDURL#${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/blob/main/FORK.md#" release-notes.md
31903200
cat release-notes.md
31913201
31923202
- name: Publish the release

FORK.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ This is a fork of [cagnulein/qdomyos-zwift](https://github.com/cagnulein/qdomyos
44
(QZ), kept for one rider, one trainer and one PC. Everything below exists because it was
55
needed for that setup, not because it is generally better.
66

7+
QZ itself is the work of **[Roberto Viola (cagnulein)](https://github.com/cagnulein)** and
8+
its contributors — the protocol work, the device support, the training-app integrations,
9+
all of it. This page lists only the delta. If QZ is worth something to you, support him:
10+
[Patreon](https://www.patreon.com/cagnulein) ·
11+
[Buy Me a Coffee](https://www.buymeacoffee.com/cagnulein) ·
12+
[Google Play](https://play.google.com/store/apps/details?id=org.cagnulen.qdomyoszwift) ·
13+
[App Store](https://apps.apple.com/app/id1543684531). This fork takes no money and asks
14+
for none.
15+
716
Upstream is the project. If you are looking for QZ, go there first.
817

918
## Read this before downloading

README.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,27 @@
11
# qdomyos-zwift
22

3-
> **This is a fork.** It is a personal build of
4-
> [cagnulein/qdomyos-zwift](https://github.com/cagnulein/qdomyos-zwift), narrowed to one
5-
> trainer and one PC: **18 of upstream's 132 device drivers remain**, and only Windows and
6-
> Android are built. If your machine is not one of the few still supported, use upstream.
3+
> ### This is a fork. The real project is [cagnulein/qdomyos-zwift](https://github.com/cagnulein/qdomyos-zwift).
4+
>
5+
> QZ is written and maintained by **[Roberto Viola (cagnulein)](https://github.com/cagnulein)**
6+
> and its contributors. Every feature this repository is useful for is his work; what is
7+
> here is a handful of changes on top, made for one rider with one trainer.
8+
>
9+
> This build is **narrowed on purpose**: 18 of upstream's 132 device drivers remain, and
10+
> only Windows and Android are built. If your machine is not one of the few still
11+
> supported — or you just want QZ — **[go to upstream](https://github.com/cagnulein/qdomyos-zwift)**
12+
> or [qzfitness.com](https://www.qzfitness.com/).
713
>
814
> **[What this fork changes, and why →](FORK.md)** · [Releases](../../releases)
15+
>
16+
> #### Support the author, not this fork
17+
>
18+
> This fork takes no money and asks for none. If QZ is worth something to you, it is his
19+
> work to support:
20+
>
21+
> - **[Patreon](https://www.patreon.com/cagnulein)**
22+
> - **[Buy Me a Coffee](https://www.buymeacoffee.com/cagnulein)**
23+
> - **[IssueHunt](https://issuehunt.io/r/cagnulein)**
24+
> - Buy the app: **[Google Play](https://play.google.com/store/apps/details?id=org.cagnulen.qdomyoszwift)** · **[App Store](https://apps.apple.com/app/id1543684531)**
925
1026
Zwift bridge for Treadmills and Bike!
1127

0 commit comments

Comments
 (0)