chore: fix versioning
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Robert Kaussow 2021-03-28 13:26:38 +02:00
parent 4f9f06c715
commit c0d0282ead
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 3 additions and 3 deletions

View File

@ -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/',

View File

@ -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
... ...