Skip to content

Commit

Permalink
chore: Bump NPM package versions (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjcsmith authored Nov 28, 2024
1 parent fee87be commit eedb06a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/check-package-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ jobs:

- name: Check for multiple package changes
run: |
CHANGED_SDKS=$(git diff --name-only origin/${{ github.base_ref }} | grep -E '^sdk-[^/]+/' | cut -d'/' -f1 | sort -u)
CHANGED_CLI=$(git diff --name-only origin/${{ github.base_ref }} | grep -E '^cli/' | cut -d'/' -f1 | sort -u)
CHANGED_PACKAGES=$(git diff --name-only origin/"${{ github.base_ref }}" | grep -E '^(sdk-[^/]+/|cli/)' | cut -d'/' -f1 | sort -u)
COUNT=$(echo "$CHANGED_SDKS $CHANGED_CLI" | grep -v '^$' | wc -l)
COUNT=$(echo "$CHANGED_PACKAGES" | grep -v '^$' | wc -l)
echo "Changed packages: $CHANGED_SDKS $CHANGED_CLI"
echo "$CHANGED_PACKAGES (COUNT=$COUNT)"
if [ "$COUNT" -gt 1 ]; then
echo "Error: Changes detected in multiple packages:"
Expand Down
2 changes: 1 addition & 1 deletion sdk-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "inferable",
"version": "0.30.53",
"version": "0.30.54",
"description": "Javascript SDK for inferable.ai",
"main": "bin/index.js",
"scripts": {
Expand Down

0 comments on commit eedb06a

Please sign in to comment.