Compare commits

...

12 commits

Author SHA1 Message Date
Forgejo CI
dbfcb0ec38 Обновлена версия до 0.2.28 [skip ci] 2026-11-17 13:51:59 +00:00
2fd0b4024d CI: release API снова через публичный адрес
All checks were successful
Release / release (push) Successful in 8m49s
readTimeout Traefik поднят до 600 с в manifests (3989ca8).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 20:44:22 +07:00
Forgejo CI
cb4f6094ff Обновлена версия до 0.2.27 [skip ci] 2026-11-17 13:43:22 +00:00
598bd61c77 Release API через внутренний сервис кластера вместо Traefik
All checks were successful
Release / release (push) Successful in 6m39s
Загрузка AppImage (~129 МБ) через публичный адрес обрывалась
readTimeout Traefik (60 с): unexpected EOF -> 500/502.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 20:36:51 +07:00
Forgejo CI
4d14ecdb0e Обновлена версия до 0.2.26 [skip ci] 2026-11-17 13:33:02 +00:00
1518016568 Исправлено получение ID релиза: ANSI-цвета node при FORCE_COLOR
Some checks failed
Release / release (push) Failing after 7m47s
console.log(число) в образе electronuserland/builder выводил
\e[33m37\e[39m, из-за чего URL загрузки файлов был битым.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 20:26:21 +07:00
Forgejo CI
34d6dc0aaf Обновлена версия до 0.2.25 [skip ci] 2026-11-17 13:24:13 +00:00
cb7706ca90 ID релиза передаётся через файл вместо outputs
Some checks failed
Release / release (push) Failing after 6m27s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 20:17:53 +07:00
Forgejo CI
a798025423 Обновлена версия до 0.2.24 [skip ci] 2026-11-17 13:15:59 +00:00
65d5e3668c Санитизация ID релиза и отладка URL при загрузке файлов
Some checks failed
Release / release (push) Failing after 7m3s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 20:09:04 +07:00
Forgejo CI
f3220d0859 Обновлена версия до 0.2.23 [skip ci] 2026-11-17 13:04:39 +00:00
0adc56da6e Отключён globbing curl при загрузке файлов релиза
Some checks failed
Release / release (push) Failing after 6m36s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 19:58:08 +07:00
3 changed files with 15 additions and 9 deletions

View file

@ -19,6 +19,9 @@ jobs:
container: container:
image: electronuserland/builder:wine image: electronuserland/builder:wine
env:
API: https://git.vodyanoysh.ru/api/v1/repos/vodyanoy/aero-mail
steps: steps:
- name: Checkout (full history for tags) - name: Checkout (full history for tags)
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -106,22 +109,25 @@ jobs:
-H "Authorization: token ${TOKEN}" \ -H "Authorization: token ${TOKEN}" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d "${PAYLOAD}" \ -d "${PAYLOAD}" \
"https://git.vodyanoysh.ru/api/v1/repos/vodyanoy/aero-mail/releases") "${API}/releases")
RELEASE_ID=$(printf '%s' "$RELEASE" | node -e 'let input = ""; process.stdin.on("data", chunk => { input += chunk }); process.stdin.on("end", () => { const release = JSON.parse(input); if (!Number.isSafeInteger(release.id)) throw new Error("Некорректный ID релиза"); console.log(release.id) })') RELEASE_ID=$(printf '%s' "$RELEASE" | node -e 'let input = ""; process.stdin.on("data", chunk => { input += chunk }); process.stdin.on("end", () => { const release = JSON.parse(input); if (!Number.isSafeInteger(release.id)) throw new Error("Некорректный ID релиза"); process.stdout.write(String(release.id)) })')
echo "id=${RELEASE_ID}" >> "$GITHUB_OUTPUT" printf '%s' "${RELEASE_ID}" > /tmp/release-id.txt
- name: Upload Linux and Windows release files - name: Upload Linux and Windows release files
env: env:
TOKEN: ${{ secrets.GITHUB_TOKEN }} TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_ID: ${{ steps.release.outputs.id }}
VERSION: ${{ steps.version.outputs.version }} VERSION: ${{ steps.version.outputs.version }}
run: | run: |
RELEASE_ID=$(cat /tmp/release-id.txt)
# Только цифры: защита от ANSI-цветов (FORCE_COLOR) и прочего мусора
printf '%s' "${RELEASE_ID}" | grep -qxE '[0-9]+' || { echo "Некорректный ID релиза: $(printf '%s' "${RELEASE_ID}" | od -c)"; exit 1; }
for ASSET_PATH in "dist/aero-mail-${VERSION}.AppImage" "dist/aero-mail-${VERSION}-win-x64.exe" "dist/aero-mail-${VERSION}-win-x64.exe.blockmap" dist/latest.yml; do for ASSET_PATH in "dist/aero-mail-${VERSION}.AppImage" "dist/aero-mail-${VERSION}-win-x64.exe" "dist/aero-mail-${VERSION}-win-x64.exe.blockmap" dist/latest.yml; do
ASSET_NAME=$(basename "${ASSET_PATH}") ASSET_NAME=$(basename "${ASSET_PATH}")
curl --fail-with-body --silent --show-error -X POST \ URL="${API}/releases/${RELEASE_ID}/assets?name=${ASSET_NAME}"
curl --globoff --fail-with-body --silent --show-error -X POST \
-H "Authorization: token ${TOKEN}" \ -H "Authorization: token ${TOKEN}" \
-H "Content-Type: application/octet-stream" \ -H "Content-Type: application/octet-stream" \
--data-binary @"${ASSET_PATH}" \ --data-binary @"${ASSET_PATH}" \
"https://git.vodyanoysh.ru/api/v1/repos/vodyanoy/aero-mail/releases/${RELEASE_ID}/assets?name=${ASSET_NAME}" "${URL}"
done done

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "aero-mail", "name": "aero-mail",
"version": "0.2.22", "version": "0.2.28",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "aero-mail", "name": "aero-mail",
"version": "0.2.22", "version": "0.2.28",
"hasInstallScript": true, "hasInstallScript": true,
"dependencies": { "dependencies": {
"@material/material-color-utilities": "^0.4.0", "@material/material-color-utilities": "^0.4.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "aero-mail", "name": "aero-mail",
"version": "0.2.22", "version": "0.2.28",
"description": "Desktop email client built with Vue 3 + Electron", "description": "Desktop email client built with Vue 3 + Electron",
"author": { "author": {
"name": "d.a.kolesov", "name": "d.a.kolesov",