diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 85d7efc..3a42125 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -329,7 +329,8 @@ jobs: sign-windows: name: Sign Windows binaries # Release signing only; PRs never touch keys. Secrets live only in CI, never in the repo (see docs/CODE-SIGNING.md). - if: github.server_url == 'https://github.com' && (startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch') + # One-time exception while Azure Artifact Signing is unavailable. + if: github.server_url == 'https://github.com' && github.ref != 'refs/tags/v0.3.1' && (startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch') needs: desktop runs-on: windows-latest permissions: @@ -454,7 +455,15 @@ jobs: package: name: Verify release archives # Manual runs rehearse release packaging without creating a tag or draft release. - if: github.server_url == 'https://github.com' && (startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch') + if: >- + !cancelled() + && github.server_url == 'https://github.com' + && (startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch') + && needs.desktop.result == 'success' + && needs.windows-parity.result == 'success' + && needs.macos.result == 'success' + && (needs.sign-windows.result == 'success' + || (github.ref == 'refs/tags/v0.3.1' && needs.sign-windows.result == 'skipped')) needs: [desktop, windows-parity, sign-windows, macos] runs-on: ubuntu-latest steps: diff --git a/docs/CODE-SIGNING.md b/docs/CODE-SIGNING.md index 7ea26da..6c44a31 100644 --- a/docs/CODE-SIGNING.md +++ b/docs/CODE-SIGNING.md @@ -43,6 +43,9 @@ Windows показывает BYDLO как приложение «неизвес ## Проверка релиза +Выпуск `v0.3.1` — разовое исключение: BYDLO и его помощник в Windows-архивах +поставляются без подписи. CI проверяет комплектность архивов и их SHA-256. + Обязательный шаг релиза (job `sign-windows` в `.github/workflows/ci.yml`): 1. `Azure/trusted-signing-action` подписывает оба `BYDLO.exe` и оба `helper/Bydlo.Helper.exe`; diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md index 855ff98..e5a014d 100644 --- a/docs/RELEASE_NOTES.md +++ b/docs/RELEASE_NOTES.md @@ -8,6 +8,7 @@ - Исправлена подготовка Zapret на macOS, локализованы сообщения об ошибках. - На Windows добавлено повышение прав при запуске по выбору пользователя. Усилена защита файлов с секретами. +Windows-сборки BYDLO в этом выпуске не подписаны. Контрольные суммы архивов доступны в `SHA256SUMS.txt`. # BYDLO v0.3.0