Skip to content

Commit

Permalink
update for release v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shenxianpeng committed Jul 12, 2022
1 parent 267f544 commit def61e5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jobs:
pip install .
pip install -r requirements-dev.txt
- name: Add tag to latest commit for testing
run: |
git config user.name 'github-actions'
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
git push --delete origin latest || true
git tag -a latest -m 'Retag latest commit'
git push origin latest
# - name: Add tag to latest commit for testing
# run: |
# git config user.name 'github-actions'
# git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
# git push --delete origin latest || true
# git tag -a latest -m 'Retag latest commit'
# git push origin latest

- name: Run tests and collect coverage
run: |
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ repos:
language: system
types: [python]
- repo: https://github.com/shenxianpeng/cpp-linter-hooks
rev: d3fc88c84b93708b4e5eb12c72cdbf421599cd40
rev: v0.1.0
hooks:
- id: clang-format
args: [--style=Google, --version=13]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The example of using custom config: `.clang-format` and `.clang-tidy`
```yaml
repos:
- repo: https://github.com/shenxianpeng/cpp-linter-hooks
rev: v0.1.0 # Use the ref you want to point at
rev: v0.1.0
hooks:
- id: clang-format
args: [--style=.clang-format] # path/to/.clang-format
Expand All @@ -40,7 +40,7 @@ The example of using any version of [clang-tools](https://github.com/shenxianpen
```yaml
repos:
- repo: https://github.com/shenxianpeng/cpp-linter-hooks
rev: v0.1.0 # Use the ref you want to point at
rev: v0.1.0
hooks:
- id: clang-format
args: [--style=Google, --version=13]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
name='cpp_linter_hooks',
description='Automatically check c/c++ with clang-format and clang-tidy',
url='https://github.com/shenxianpeng/cpp-linter-hooks',
version='0.0.1',
version='0.1.0',
author="Peter Shen",
author_email="[email protected]",
license="MIT",
Expand Down

0 comments on commit def61e5

Please sign in to comment.