From 73f819d29ed06c81bb0af7c257abd84d913aab02 Mon Sep 17 00:00:00 2001 From: Compot Developer Date: Sat, 17 Oct 2026 22:57:29 +0000 Subject: [PATCH] release: no SHA256SUMS, no checksum step in the docs (#66) Users need not check the downloaded files against checksums: the release job no longer writes SHA256SUMS, and the release notes and the build.yml header stop listing it. READMEs: SHA256SUMS is gone from the permanent-links table, the download example and the release steps. The pinned checksum of the downloaded toolchain (ci/build-musl.sh) stays. Closes #66 --- .github/workflows/build.yml | 5 ++--- README.md | 6 ++---- README.ru.md | 6 ++---- README.zh-CN.md | 6 ++---- 4 files changed, 8 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index db7146c..d2bc133 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,7 +6,7 @@ # Release (#60): one release only, "latest", replaced by every push to master # (or a manual run on master) once all build and test jobs pass. Its title is # "Camex ", its file names carry no version, -# so download links never change, and SHA256SUMS lists them. No versioned +# so download links never change. No versioned # releases or v* tags are kept; the change history lives in CHANGELOG.md. # @@ -555,7 +555,6 @@ jobs: (cd "pkg-$arch" && zip -9 "../release/camex-windows-$arch.zip" *) done - (cd release && sha256sum * > SHA256SUMS && sha256sum -c SHA256SUMS) ls -l release - name: Publish "latest" @@ -572,7 +571,7 @@ jobs: --latest \ --title "Camex ${VER}" \ --target "${GITHUB_SHA}" \ - --notes "Camex ${VER} (${GITHUB_SHA::7}): static musl builds for Linux (aarch64, arm, mipsel, x86_64), the Android app (camex-android.apk), macOS and Windows (x86_64, i686) packages, and SHA256SUMS. Rebuilt from every push to master. Changes: CHANGELOG.md; installation: README.md."; then + --notes "Camex ${VER} (${GITHUB_SHA::7}): static musl builds for Linux (aarch64, arm, mipsel, x86_64), the Android app (camex-android.apk), macOS and Windows (x86_64, i686) packages. Rebuilt from every push to master. Changes: CHANGELOG.md; installation: README.md."; then exit 0 fi echo "::warning::gh release create failed (attempt $try)" diff --git a/README.md b/README.md index 4b4ccc7..232cd3a 100644 --- a/README.md +++ b/README.md @@ -98,12 +98,10 @@ rebuilt by CI from every push to `master`. Its title shows the camex version | `camex-macos.zip` | macOS (utun): `camex`, LICENSE, README | | `camex-windows-x86_64.zip` | Windows 64-bit: `camex.exe` and `wintun.dll` | | `camex-windows-i686.zip` | Windows 32-bit: `camex.exe` and `wintun.dll` | -| `SHA256SUMS` | SHA256 of all the files above | ```sh URL=https://github.com/OpenIPC/camex/releases/latest/download -curl -fL -O $URL/camex-arm -O $URL/SHA256SUMS -sha256sum -c --ignore-missing SHA256SUMS +curl -fL -O $URL/camex-arm ``` The change history is in [CHANGELOG.md](CHANGELOG.md). @@ -774,7 +772,7 @@ replaced by CI after every push to `master`, once all build and test jobs pass. version's section to `CHANGELOG.md`. 2. **Merge into `master`**. CI deletes the old `latest` release and its tag and creates it again on the built commit: title `Camex X.Y.Z`, the files from - [Permanent links](#permanent-links), `SHA256SUMS`. + [Permanent links](#permanent-links). 3. **Telegram**: when the version differs from the title of the previous `latest`, CI posts the APK to the OpenIPC Telegram channel. A push without a version bump only replaces the files. diff --git a/README.ru.md b/README.ru.md index 5f42a4c..b673c35 100644 --- a/README.ru.md +++ b/README.ru.md @@ -99,12 +99,10 @@ sudo ./camex --mode client \ | `camex-macos.zip` | macOS (utun): `camex`, LICENSE, README | | `camex-windows-x86_64.zip` | Windows 64-bit: `camex.exe` и `wintun.dll` | | `camex-windows-i686.zip` | Windows 32-bit: `camex.exe` и `wintun.dll` | -| `SHA256SUMS` | SHA256 всех файлов выше | ```sh URL=https://github.com/OpenIPC/camex/releases/latest/download -curl -fL -O $URL/camex-arm -O $URL/SHA256SUMS -sha256sum -c --ignore-missing SHA256SUMS +curl -fL -O $URL/camex-arm ``` История изменений — в [CHANGELOG.md](CHANGELOG.md). @@ -780,7 +778,7 @@ sudo rmmod camex раздел версии в `CHANGELOG.md`. 2. **Смержить в `master`**. CI удаляет старый релиз `latest` вместе с тегом и создаёт его заново на собранном коммите: заголовок `Camex X.Y.Z`, файлы из раздела - [«Постоянные ссылки»](#постоянные-ссылки), `SHA256SUMS`. + [«Постоянные ссылки»](#постоянные-ссылки). 3. **Telegram**: если версия отличается от заголовка прежнего `latest`, CI отправляет APK в Telegram-канал OpenIPC. Push без смены версии только заменяет файлы. diff --git a/README.zh-CN.md b/README.zh-CN.md index f6082f4..bd83432 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -98,12 +98,10 @@ CI 会在每次推送到 `master` 时重新构建。其标题显示 camex 版本 | `camex-macos.zip` | macOS(utun):`camex`、LICENSE、README | | `camex-windows-x86_64.zip` | Windows 64 位:`camex.exe` 和 `wintun.dll` | | `camex-windows-i686.zip` | Windows 32 位:`camex.exe` 和 `wintun.dll` | -| `SHA256SUMS` | 以上所有文件的 SHA256 | ```sh URL=https://github.com/OpenIPC/camex/releases/latest/download -curl -fL -O $URL/camex-arm -O $URL/SHA256SUMS -sha256sum -c --ignore-missing SHA256SUMS +curl -fL -O $URL/camex-arm ``` 变更历史见 [CHANGELOG.md](CHANGELOG.md)。 @@ -748,7 +746,7 @@ Android 的 `versionName` 和 `versionCode` 随之变化:`scripts/sync-android 1. **在 PR 中**:更新 `CAMEX_VERSION`,运行 `scripts/sync-android-version.sh`,并在 `CHANGELOG.md` 中添加该版本的章节。 2. **合并到 `master`**。CI 删除旧的 `latest` 发布及其标签,并在构建所用的提交上重新创建: - 标题 `Camex X.Y.Z`,[永久链接](#永久链接)中列出的文件,以及 `SHA256SUMS`。 + 标题 `Camex X.Y.Z`,以及[永久链接](#永久链接)中列出的文件。 3. **Telegram**:当版本与之前 `latest` 的标题不同时,CI 会将 APK 发送到 OpenIPC Telegram 频道。未更改版本的推送只替换文件。