We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 087424f commit a000679Copy full SHA for a000679
1 file changed
.github/scripts/getNewPatchedRNVersion.sh
@@ -21,7 +21,7 @@ PACKAGE_VERSIONS="$(gh api "/orgs/Expensify/packages/maven/com.expensify.${PACKA
21
PACKAGE_VERSIONS="$(echo "$PACKAGE_VERSIONS" | grep "$VERSION")"
22
23
# Grab the highest patch version from there
24
-LATEST_PATCHED_VERSION="$(echo "$PACKAGE_VERSIONS" | sort | tail -n1)"
+LATEST_PATCHED_VERSION="$(echo "$PACKAGE_VERSIONS" | sort -V | tail -n1)"
25
26
if [[ -n "$LATEST_PATCHED_VERSION" ]]; then
27
PATCH_ITERATION=${LATEST_PATCHED_VERSION##*-}
0 commit comments