Skip to content

Commit

Permalink
Migrate license checker to license-eye (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
kezhenxu94 committed Jul 6, 2022
1 parent 23aef6d commit 5c0b30f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 70 deletions.
1 change: 1 addition & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ header:
- '.github/PULL_REQUEST_TEMPLATE'
- '.gitignore'
- '**/*.json'
- 'venv'

comment: on-failure
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ check-doc-gen: dev-setup doc-gen
fi

license: clean
$(VENV)/python tools/check-license-header.py skywalking tests tools
docker run -it --rm -v $(shell pwd):/github/workspace ghcr.io/apache/skywalking-eyes/license-eye:f461a46e74e5fa22e9f9599a355ab4f0ac265469 header check

test: gen setup-test
$(VENV)/python -m pytest -v tests
Expand Down Expand Up @@ -103,6 +103,6 @@ clean:
find . -name "*.pyc" -exec rm -r {} +

release: clean lint license
-tar -zcvf skywalking-python-src-$(VERSION).tgz *
-tar -zcvf skywalking-python-src-$(VERSION).tgz --exclude venv *
gpg --batch --yes --armor --detach-sig skywalking-python-src-$(VERSION).tgz
shasum -a 512 skywalking-python-src-$(VERSION).tgz > skywalking-python-src-$(VERSION).tgz.sha512
68 changes: 0 additions & 68 deletions tools/check-license-header.py

This file was deleted.

0 comments on commit 5c0b30f

Please sign in to comment.