We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ebe441 commit ba281c4Copy full SHA for ba281c4
.github/workflows/cd.yml
@@ -24,7 +24,7 @@ jobs:
24
run: npm install --no-audit --ignore-scripts
25
26
- name: Publish release
27
- run: npm run semantic-release
+ run: ./.github/workflows/release.sh
28
env:
29
NPM_TOKEN: ${{ secrets.NPM_TELERIK_TOKEN }}
30
GH_TOKEN: ${{ secrets.GH_TOKEN }}
.github/workflows/release.sh
@@ -0,0 +1,13 @@
1
+#!/usr/bin/env bash
2
+
3
+ERROR=$(npm run semantic-release 2>&1)
4
+EXIT_CODE=$?
5
6
+echo $ERROR;
7
8
+if [ $EXIT_CODE -eq 1 ] && [[ $ERROR != *"ENOCHANGE"* ]]; then
9
+ exit 1;
10
+else
11
+ exit 0;
12
+fi
13
0 commit comments