summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKate Case <kcase@redhat.com>2023-02-07 11:50:01 -0500
committerGitHub <noreply@github.com>2023-02-07 11:50:01 -0500
commita4a40e9d4ec540fae1b4ecb1622786d0832ed840 (patch)
treea99f6549f4490ba2373ca021d7c7637bcdbe14b2
parent6c6637a13fa034e4ea486eda4fff16620e818b0d (diff)
downloadvyos.vyos-a4a40e9d4ec540fae1b4ecb1622786d0832ed840.tar.gz
vyos.vyos-a4a40e9d4ec540fae1b4ecb1622786d0832ed840.zip
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>
-rw-r--r--.pre-commit-config.yaml11
-rw-r--r--galaxy.yml4
2 files changed, 7 insertions, 8 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index dc0e3b7..b635fa6 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 a51c0db..e4c915f 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