Skip to content

Commit

Permalink
Atualiza README e faz melhorias no Makefile para criar tags assinadas
Browse files Browse the repository at this point in the history
  • Loading branch information
insign committed Nov 2, 2024
1 parent 58a71e5 commit 65d4f97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ Informações sobre a API utilizada nesta integração: https://apoio.developers

Contribua com esta integração no [GitHub](https://github.com/insign/integracao-bb)

Para enviar uma nova versão execute `make push` (nova tag patch com seus commits)

## Testes
Execute os testes com [Pest](https://pestphp.com/) executando: `make test`

Expand Down
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ push:
@read -r response; \
if [ "$$response" = "y" ] || [ "$$response" = "Y" ]; then \
git push; \
git tag $(NEXT_PATCH_VERSION); \
git tag -a $(NEXT_PATCH_VERSION) -m "$(NEXT_PATCH_VERSION)"; \
echo "Nova tag criada: $(NEXT_PATCH_VERSION)"; \
git push origin $(NEXT_PATCH_VERSION); \
git push --follow-tags; \
echo "Tag $(NEXT_PATCH_VERSION) enviada ao repositório remoto."; \
else \
echo "Operação cancelada."; \
Expand Down

0 comments on commit 65d4f97

Please sign in to comment.