diff --git a/.gitea/workflows/release-production.yaml b/.gitea/workflows/release-production.yaml index f434131..a70a620 100644 --- a/.gitea/workflows/release-production.yaml +++ b/.gitea/workflows/release-production.yaml @@ -37,8 +37,9 @@ jobs: run: | npm i npm i -g semantic-release - # We do a semantic-release DRY RUN to make the job fail if there are no changes to release + echo "do a semantic-release DRY RUN to make the job fail if there are no changes to release" GITEA_TOKEN=${{ secrets.RELEASE_TOKEN }} GITEA_URL=https://git.nostrdev.com/sigit/sigit.io semantic-release --dry-run | grep -q "There are no relevant changes, so no new version is released." && exit 1 + echo "now do the actual release" GITEA_TOKEN=${{ secrets.RELEASE_TOKEN }} GITEA_URL=https://git.nostrdev.com/sigit/sigit.io semantic-release - name: Upload assets to release