Skip to content

Commit

Permalink
chore: respect PKG_VSN in pkg-vsn.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
id committed Oct 3, 2022
1 parent 09500f1 commit bc71149
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg-vsn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ while [ "$#" -gt 0 ]; do
esac
done

# return immediately if version is already set
if [[ "${PKG_VSN:-novalue}" != novalue && "${LONG_VERSION:-novalue}" != 'yes' ]]; then
echo "$PKG_VSN"
exit 0
fi

case "${PROFILE}" in
*enterprise*)
RELEASE_EDITION="EMQX_RELEASE_EE"
Expand Down

0 comments on commit bc71149

Please sign in to comment.