Repository navigation
fix: corrige build, versão e URL de atualização do userscript - #58
Merged
Merged
Conversation
- Makefile: remove o redirecionamento de stdout; o build.py já grava em dist/ e a mensagem impressa sobrescrevia o cabeçalho do arquivo. - Sobe @Version para 14.1 (master estava em 13.1, abaixo do release v14.0). - Adiciona @updateURL/@downloadurl apontando para o último release. - Substitui o Travis CI por um workflow do GitHub Actions que faz lint e build e publica o release ao criar uma tag v*.
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.
Relacionado a #56 (o link quebrado é corrigido em burlesco/site#11; este PR garante que quem instalar receba atualizações).
Summary
Desde o #50 o
build.pygravadist/burlesco.user.jssozinho e imprime uma mensagem. Com o redirecionamento, a mensagem sobrescrevia o início do arquivo e o// ==UserScript==sumia.@updateURL, o Tampermonkey checa atualização na URL de instalação. Quem instalou porburles.co/userscript/burlesco.user.js(hoje 404) nunca recebe update.Evidence
make buildmake buildmake lint: 0 erros (1 warning pré-existente deeslint-disablesem uso). O workflow repete essa verificação de cabeçalho no CI.Merge Danger
Door: two-way
O merge em si é reversível. A porta de mão única é o release: depois de publicar a tag
v14.1, os usuários atualizam automaticamente e não dá para "desatualizar".Blast Radius: todos os usuários do userscript
O merge não publica nada. Ao criar a tag
v14.1, o workflow publica o release e todos os usuários na 14.0 recebem as mudanças acumuladas desde out/2023 (Folha/Estadão do #50, revert do ft.com, lint). Quem instalou pela URL antiga do site precisa reinstalar uma vez para passar a receber updates.