chore: fix versioning
This commit is contained in:
parent
4f9f06c715
commit
c0d0282ead
@ -72,7 +72,7 @@ local PipelineBuild = {
|
|||||||
name: 'build',
|
name: 'build',
|
||||||
image: 'python:3.9',
|
image: 'python:3.9',
|
||||||
commands: [
|
commands: [
|
||||||
'GALAXY_VERSION=${DRONE_TAG:##v}',
|
'GALAXY_VERSION=${DRONE_TAG##v}',
|
||||||
"sed -i 's/version: 0.0.0/version: '\"$${GALAXY_VERSION:-0.0.0}\"'/g' galaxy.yml",
|
"sed -i 's/version: 0.0.0/version: '\"$${GALAXY_VERSION:-0.0.0}\"'/g' galaxy.yml",
|
||||||
'pip install ansible -qq',
|
'pip install ansible -qq',
|
||||||
'ansible-galaxy collection build --output-path dist/',
|
'ansible-galaxy collection build --output-path dist/',
|
||||||
|
@ -95,7 +95,7 @@ steps:
|
|||||||
- name: build
|
- name: build
|
||||||
image: python:3.9
|
image: python:3.9
|
||||||
commands:
|
commands:
|
||||||
- GALAXY_VERSION=${DRONE_TAG:##v}
|
- GALAXY_VERSION=${DRONE_TAG##v}
|
||||||
- "sed -i 's/version: 0.0.0/version: '\"$${GALAXY_VERSION:-0.0.0}\"'/g' galaxy.yml"
|
- "sed -i 's/version: 0.0.0/version: '\"$${GALAXY_VERSION:-0.0.0}\"'/g' galaxy.yml"
|
||||||
- pip install ansible -qq
|
- pip install ansible -qq
|
||||||
- ansible-galaxy collection build --output-path dist/
|
- ansible-galaxy collection build --output-path dist/
|
||||||
@ -201,6 +201,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 3755090863d1c4215ec5fce44c2e8efa825bda82afac5f2de4132bf4bf18fc2e
|
hmac: 324dc2e7454b73282e8fe95124742fbb10274ac11595f8bd9349a5c9108890f7
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user