Remove semver check from release job

Jinja in Zuul Ansible version doesn't support semver key for versions.
Change-Id: I8bf9aa17e18f9b6d2c8e307f4368d1cea3362cb5
changes/31/802831/1 1.5.1-2
Sagi Shnaidman 1 year ago
parent 441a61fd8c
commit 8a395a04cf
  1. 14
      ci/publish/publish_collection.yml

@ -24,20 +24,6 @@
msg: "No tag was found in Zuul vars!"
when: version_tag == 'no_version'
# Ansible Galaxy can accept only pure semver versions
# see https://semver.org for details
- name: Check that tag is proper semver
debug:
msg: >-
{{ version_tag is version('999.999.999', 'lt', version_type='semver') }}
ignore_errors: true
register: test_semver
- name: Fail if tag is not proper semver
fail:
msg: "Error is: {{ test_semver.msg }}"
when: test_semver is failed
- name: Create a directory for collection
file:
state: "{{ item }}"

Loading…
Cancel
Save