mirror of
https://github.com/ansible-collections/hetzner.hcloud
synced 2024-12-14 06:22:32 +00:00
8 lines
268 B
Bash
8 lines
268 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
# Sync the collection version variable based on the version in the galaxy.yml file.
|
||
|
|
||
|
galaxy_version="$(grep '^version:' galaxy.yml | cut -d ' ' -f 2)"
|
||
|
|
||
|
sed --in-place "s|version = .*|version = \"$galaxy_version\"|" plugins/module_utils/version.py
|