From 031deef6ca3b9794d3fadf67b67884137e6af9f2 Mon Sep 17 00:00:00 2001 From: b <> Date: Fri, 31 Jan 2025 20:09:07 +0000 Subject: [PATCH] fix: test to see if the automated release works --- .gitea/workflows/release-production.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.34.1