Skip to content

Commit acc7251

Browse files
authored
feat(workflows/release): only create release when run (#38)
1 parent 8f88c58 commit acc7251

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,6 @@ jobs:
1717
- name: Checkout repo
1818
uses: actions/checkout@v4
1919

20-
- name: Check if only package.json was modified
21-
run: |
22-
files=$(git diff-tree --no-commit-id --name-only -r ${{ github.sha }})
23-
24-
# Only package.json allowed
25-
if [ "$files" != "package.json" ]; then
26-
echo "Only package.json modification allowed, exiting."
27-
exit 1
28-
fi
29-
echo "Only package.json modified."
30-
3120
- name: Read version from package.json
3221
id: get_version
3322
run: |

0 commit comments

Comments
 (0)