Merge pull request #8390 from thalesmg/update-appup-tool-vsns
chore: copy `.tool-versions` when calculating appups
This commit is contained in:
commit
9390fe665c
|
@ -92,6 +92,8 @@ else
|
||||||
NEW_COPY='no'
|
NEW_COPY='no'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
TOOL_VERSIONS="$PWD/.tool-versions"
|
||||||
|
|
||||||
if [ "${SKIP_BUILD_BASE:-no}" = 'yes' ]; then
|
if [ "${SKIP_BUILD_BASE:-no}" = 'yes' ]; then
|
||||||
echo "not building relup base ${PREV_DIR_BASE}/${PREV_TAG}"
|
echo "not building relup base ${PREV_DIR_BASE}/${PREV_TAG}"
|
||||||
else
|
else
|
||||||
|
@ -103,6 +105,9 @@ else
|
||||||
git reset --hard
|
git reset --hard
|
||||||
git clean -ffdx
|
git clean -ffdx
|
||||||
git checkout "${PREV_TAG}"
|
git checkout "${PREV_TAG}"
|
||||||
|
# copy current .tool-versions to ensure same OTP version, even if
|
||||||
|
# overridden.
|
||||||
|
cp "$TOOL_VERSIONS" ./
|
||||||
make "$PROFILE"
|
make "$PROFILE"
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue