mirror of
https://github.com/luzifer-docker/curator.git
synced 2024-09-19 16:22:57 +00:00
Apply shfmt
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
02bc617004
commit
0226121529
4
build.sh
4
build.sh
@ -36,13 +36,13 @@ echo "Fetching latest version number of awscli"
|
|||||||
|
|
||||||
CURATOR_VERSION=$(curl -sSL https://pypi.python.org/pypi/elasticsearch-curator/json | ./jq -r .info.version)
|
CURATOR_VERSION=$(curl -sSL https://pypi.python.org/pypi/elasticsearch-curator/json | ./jq -r .info.version)
|
||||||
|
|
||||||
if ( git tag -l ${CURATOR_VERSION} | grep -q ${CURATOR_VERSION} ); then
|
if (git tag -l ${CURATOR_VERSION} | grep -q ${CURATOR_VERSION}); then
|
||||||
echo "/!\\ Already got a tag for version ${CURATOR_VERSION}, stopping now"
|
echo "/!\\ Already got a tag for version ${CURATOR_VERSION}, stopping now"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Writing requirements.txt"
|
echo "Writing requirements.txt"
|
||||||
echo "elasticsearch-curator==${CURATOR_VERSION}" > requirements.txt
|
echo "elasticsearch-curator==${CURATOR_VERSION}" >requirements.txt
|
||||||
echo "PyYAML==3.13" >>requirements.txt # Temp. fix for https://github.com/elastic/curator/issues/1368
|
echo "PyYAML==3.13" >>requirements.txt # Temp. fix for https://github.com/elastic/curator/issues/1368
|
||||||
|
|
||||||
### ---- ###
|
### ---- ###
|
||||||
|
Loading…
Reference in New Issue
Block a user