ci: auto-replace version in galaxy.yml
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2021-03-27 14:35:25 +01:00
parent 12c4dc4e3b
commit b608706c74
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
3 changed files with 6 additions and 3 deletions

View File

@ -72,6 +72,7 @@ local PipelineBuild = {
name: 'build',
image: 'python:3.9',
commands: [
"sed -i 's/version: 0.0.0/version: '\"${DRONE_TAG:-0.0.0}\"'/g' galaxy.yml",
'pip install ansible -qq',
'ansible-galaxy collection build --output-path dist/',
],

View File

@ -95,6 +95,7 @@ steps:
- name: build
image: python:3.9
commands:
- "sed -i 's/version: 0.0.0/version: '\"${DRONE_TAG:-0.0.0}\"'/g' galaxy.yml"
- pip install ansible -qq
- ansible-galaxy collection build --output-path dist/
@ -199,6 +200,6 @@ depends_on:
---
kind: signature
hmac: 1bd261fd58a56939db7b1e2cbccf52a5d3d43e04329da9222524fa924c9de9dc
hmac: fed4b9e00a0d6ad43024aaad5fda6bf4c6eb3dfe3b3fabe8c03a753aee642f3a
...

View File

@ -1,7 +1,8 @@
---
namespace: xoxys
name: general
version: 1.3.0
readme: README.md
# The version is generated during the release by Drone CI.
version: 0.0.0
authors:
- Robert Kaussow <mail@thegeeklab.de>
description: Custom general Ansible collection