Repository navigation
Выпуск публикует установщики и без ключа обновлений - #14
Merged
Merged
Conversation
A tag release already builds Windows, macOS, Linux and Android. The desktop job refused to finish without TAURI_SIGNING_PRIVATE_KEY, so no installer was published. Installers are now built either way. Signatures and latest.json are added only when that key is set, and the release notes say that in-app updates stay manual until it is. Co-authored-by: Selena <[email protected]> Co-authored-by: Filosoff <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Зачем
Выпуск по тегу
v*собирает Windows, macOS, Linux и Android, но без секретаTAURI_SIGNING_PRIVATE_KEYсборка компьютера обрывалась и в GitHub Releases не попадал ни один установщик.Что изменилось
exe,dmg,deb,AppImageи подписанный APK.latest.jsonдобавляются только если ключ задан. Иначе в выпуске есть пометкаUPDATER_DISABLED, а в тексте выпуска написано, что обновление из уже установленного приложения пока ручное.docs/releases/<версия>.md, а если файла нет — пишется короткий текст.Секреты в репозиторий не добавлялись.
Чтобы обновление с компьютера проверяло подпись, в секретах Actions нужны
TAURI_SIGNING_PRIVATE_KEYиTAURI_SIGNING_PRIVATE_KEY_PASSWORD. Для APK, который ставится поверх уже установленной копии, нужныANDROID_KEYSTORE_BASE64,ANDROID_KEYSTORE_PASSWORD,ANDROID_KEY_ALIASиANDROID_KEY_PASSWORD.Проверка
python3 -m unittest discover -s scripts -p test_prepare_release.py— 5 тестов, включая выпуск без подписей и отказ при неполном наборе подписей.