From a4a40e9d4ec540fae1b4ecb1622786d0832ed840 Mon Sep 17 00:00:00 2001 From: Kate Case Date: Tue, 7 Feb 2023 11:50:01 -0500 Subject: Add autoversion hook (#289) * Add autoversion hook * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 11 ++++++----- galaxy.yml | 4 +--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dc0e3b7e..b635fa64 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,11 @@ --- repos: + - repo: https://github.com/ansible-network/collection_prep + rev: 1.1.0 + hooks: + - id: autoversion + - id: update-docs + - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 hooks: @@ -27,8 +33,3 @@ repos: rev: 22.12.0 hooks: - id: black - - - repo: https://github.com/ansible-network/collection_prep - rev: 1.1.0 - hooks: - - id: update-docs diff --git a/galaxy.yml b/galaxy.yml index a51c0db2..e4c915f4 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -11,6 +11,4 @@ readme: README.md repository: https://github.com/ansible-collections/vyos.vyos issues: https://github.com/ansible-collections/vyos.vyos/issues tags: [vyos, networking] -# NOTE(pabelanger): We create an empty version key to keep ansible-galaxy -# happy. We dynamically inject version info based on git information. -version: null +version: 4.0.1-dev -- cgit v1.2.3