Skip to content

Commit

Permalink
Update update.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
marella committed Oct 10, 2021
1 parent ee425c2 commit 271d986
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/update.yml
Expand Up @@ -31,11 +31,14 @@ jobs:
bump="patch"
# Check for Updates
if npm run check; then
status=0
npm run check || status=$?
if [ $status -eq 0 ] || [ $status -eq 4 ]; then
if [ "$force" != "1" ]; then
exit 0 # exit if there are no changes
exit 0 # exit if there are no changes or if icons are only removed
fi
elif [ $? -ge 4 ]; then
fi
if [ $status -ge 4 ]; then
bump="minor" # icons are removed from metadata API
fi
Expand Down

0 comments on commit 271d986

Please sign in to comment.