Merge pull request 'fix: test to see if the automated release works' (#315) from staging into main
Some checks failed
Release to Production / build_and_release (push) Failing after 2m9s
Some checks failed
Release to Production / build_and_release (push) Failing after 2m9s
Reviewed-on: #315
This commit is contained in:
commit
02120d6b4c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user