feat: forgejo action #1

Merged
leandro merged 20 commits from development into master 2025-05-26 04:58:21 +00:00
Showing only changes of commit 256cb33026 - Show all commits

View file

@ -57,10 +57,13 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 2 # Necessário para acessar o commit anterior
- name: Instalando Dependencias
run: |
apk add git jq
ls -lha
- name: Verificar mudança de versão no package.json
id: check
run: |
apk add git jq
OLD_VERSION=$(git show HEAD^:package.json | jq -r '.version')
NEW_VERSION=$(jq -r '.version' package.json)
echo "Versão anterior: $OLD_VERSION"