Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,6 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v4

- name: Check if only package.json was modified
run: |
files=$(git diff-tree --no-commit-id --name-only -r ${{ github.sha }})

# Only package.json allowed
if [ "$files" != "package.json" ]; then
echo "Only package.json modification allowed, exiting."
exit 1
fi
echo "Only package.json modified."

- name: Read version from package.json
id: get_version
run: |
Expand Down