-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (22 loc) · 747 Bytes
/
Makefile
File metadata and controls
25 lines (22 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
archive:
git archive --format zip HEAD > tillit-payment-gateway.zip
bumpver-%:
@if [ "$$(git rev-parse --abbrev-ref HEAD)" != "main" ]; then \
echo "Error: Version bumping is only allowed on the main branch. Current branch: $$(git rev-parse --abbrev-ref HEAD)"; \
exit 1; \
fi
@if ! command -v gh >/dev/null 2>&1; then \
echo "Error: gh (GitHub CLI) is not installed or not in PATH"; \
exit 1; \
fi
SKIP=commit-msg bumpver update --$*
gh release create --latest --generate-notes
patch: bumpver-patch
minor: bumpver-minor
major: bumpver-major
e2e-install:
cd tests/e2e && npm install && npx playwright install chromium
e2e-test:
cd tests/e2e && npx playwright test
e2e-test-headed:
cd tests/e2e && npx playwright test --headed