Skip to content

Commit

Permalink
print OFFICIAL_VERSION into /etc/artik_release
Browse files Browse the repository at this point in the history
This patch supports to print the OFFICIAL_VERSION to the
/etc/artik_release file.

Change-Id: I63077c06cf4e260bd5d3150b2b23ec2d461562fd
Signed-off-by: Chanho Park <[email protected]>
  • Loading branch information
cometzero committed Apr 18, 2017
1 parent 6a68a2b commit becbef7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ gen_artik_release()
upper_model=$(echo -n ${TARGET_BOARD} | awk '{print toupper($0)}')
if [ "$ARTIK_RELEASE_LEGACY" != "1" ]; then
cat > $TARGET_DIR/artik_release << __EOF__
OFFICIAL_VERSION=${OFFICIAL_VERSION}
BUILD_VERSION=${BUILD_VERSION}
BUILD_DATE=${BUILD_DATE}
BUILD_UBOOT=
Expand All @@ -143,6 +144,7 @@ SE_FW=${SE_FW}
__EOF__
else
cat > $TARGET_DIR/artik_release << __EOF__
OFFICIAL_VERSION=${OFFICIAL_VERSION}
RELEASE_VERSION=${BUILD_VERSION}
RELEASE_DATE=${BUILD_DATE}
RELEASE_UBOOT=
Expand Down

0 comments on commit becbef7

Please sign in to comment.