[MM-45519] Fix auto updater file patch script (#2189)
This commit is contained in:
parent
aa21179f8f
commit
ae1faeae2a
|
@ -12,7 +12,7 @@ if [ "$RELEASE_VERSION" == "" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "${RELEASE_VERSION}"
|
echo "${RELEASE_VERSION}"
|
||||||
if [[ -f ./release/${RELEASE_VERSION}*.yml ]]; then
|
if compgen -G "./release/${RELEASE_VERSION}*.yml" > /dev/null; then
|
||||||
for i in ./release/${RELEASE_VERSION}*.yml; do
|
for i in ./release/${RELEASE_VERSION}*.yml; do
|
||||||
VERSION=$VERSION yq eval -i '.files[].url |= strenv(VERSION) + "/" + .' $i
|
VERSION=$VERSION yq eval -i '.files[].url |= strenv(VERSION) + "/" + .' $i
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue