kubespray 2.24 추가
This commit is contained in:
12
tests/scripts/check_galaxy_version.sh
Executable file
12
tests/scripts/check_galaxy_version.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
version_from_galaxy=$(grep "^version:" galaxy.yml | awk '{print $2}')
|
||||
|
||||
# TODO: compute the next expected version somehow
|
||||
if [[ $KUBESPRAY_VERSION == "v${version_from_galaxy}" ]]
|
||||
then
|
||||
echo "Please update galaxy.yml version to match the next KUBESPRAY_VERSION."
|
||||
echo "Be sure to remove the \"v\" to adhere to semantic versioning"
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user