fix release version tag

albatross
Adeeb Shihadeh 2020-11-24 13:13:02 -08:00
parent 160fd207a5
commit 51919ff2ff
1 changed files with 3 additions and 1 deletions

View File

@ -35,7 +35,9 @@ else
git checkout --orphan release2-staging
fi
VERSION=$(cat selfdrive/common/version.h | awk -F\" '{print $2}')
VERSION=$(cat selfdrive/common/version.h | awk awk -F[\"-] '{print $2}')
echo "#define COMMA_VERSION \"$VERSION-release\"" > selfdrive/common/version.h
git commit -m "openpilot v$VERSION"
# Build signed panda firmware