From def61e5c36e283000322c8a92995cb4e01954376 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Tue, 12 Jul 2022 11:42:30 +0800 Subject: [PATCH] update for release v0.1.0 --- .github/workflows/test.yml | 14 +++++++------- .pre-commit-config.yaml | 2 +- README.md | 4 ++-- setup.py | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5d8f1d2..49b2208 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 24e4e62..d64f808 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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] diff --git a/README.md b/README.md index c5fc3c7..4f14e4f 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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] diff --git a/setup.py b/setup.py index 535a53d..0d6f164 100644 --- a/setup.py +++ b/setup.py @@ -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="xianpeng.shen@gmail.com", license="MIT",