We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82a6c84 commit 66a987eCopy full SHA for 66a987e
.github/workflows/publish.yml
@@ -21,5 +21,10 @@ jobs:
21
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
23
run: |
24
- echo "Next version will be: $(node bin/aspublish.js --version)"
25
- node bin/aspublish.js
+ VERSION=$(node bin/aspublish.js --version)
+ if [ -z "$VERSION" ]; then
26
+ echo "Changes do not trigger a release"
27
+ else
28
+ echo "Publishing new version: $VERSION"
29
+ node bin/aspublish.js
30
+ fi
0 commit comments