Skip to content

Commit

Permalink
Check app-demo $RELEASE against the correct GIT tag
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Wiberg <[email protected]>
  • Loading branch information
troglobit committed Jul 14, 2021
1 parent f468e26 commit 9f40d39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions board/common/post-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ err=0
ver=""
if [ -n "$RELEASE" ]; then
# NOTE: Must use `-f $BR2_EXTERNAL` here to get, e.g. app-demo GIT version
ver="-$($BR2_EXTERNAL_NETBOX_PATH/bin/mkversion -f $BR2_EXTERNAL)"
ver="-$($BR2_EXTERNAL_NETBOX_PATH/bin/mkversion -f $BR2_EXTERNAL_DEMO_PATH)"

if [ "$RELEASE" != "$ver" ]; then
if [ "-$RELEASE" != "$ver" ]; then
echo "==============================================================================="
echo "WARNING: Release verision '$RELEASE' does not match tag '$ver'!"
echo "WARNING: Release verision '$RELEASE' does not match latest tag '$ver'!"
echo "==============================================================================="
err=1
fi
Expand Down

0 comments on commit 9f40d39

Please sign in to comment.