ci: auto-replace version in galaxy.yml
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
12c4dc4e3b
commit
b608706c74
@ -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/',
|
||||
],
|
||||
|
@ -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
|
||||
|
||||
...
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user