diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 465c1ca..4733490 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -35,6 +35,8 @@ 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 + GITEA_TOKEN=${{ secrets.RELEASE_TOKEN }} GITEA_URL=https://git.datacontroller.io semantic-release --dry-run | grep -q "There are no relevant changes, so no new version is released." && exit 1 GITEA_TOKEN=${{ secrets.RELEASE_TOKEN }} GITEA_URL=https://git.datacontroller.io semantic-release - name: Frontend Build