Skip to content

Commit

Permalink
[infra] Update docker build nncc script (Samsung#7547)
Browse files Browse the repository at this point in the history
This commit revisits debian nightly versioning.

ONE-DCO-1.0-Signed-off-by: seongwoo <[email protected]>
  • Loading branch information
mhs4670go authored Aug 20, 2021
1 parent ec9c169 commit 74da96d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion infra/scripts/docker_build_nncc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ tar -zcf ${ARCHIVE_PATH}/nncc-package.tar.gz -C ${NNCC_INSTALL_PREFIX} \
tar -zcf ${ARCHIVE_PATH}/nncc-test-package.tar.gz -C ${NNCC_INSTALL_PREFIX} ./test

if [ -z ${RELEASE_VERSION} ] || [ ${RELEASE_VERSION} == "nightly" ]; then
NEXT_VERSION=$(${ROOT_PATH}/tools/release_tool/onert_version.sh)
./nncc docker-run /bin/bash -c \
'dch -v $(dpkg-parsechangelog --show-field Version)~$(date "+%y%m%d%H") "nightly release" -D $(lsb_release --short --codename)'
'dch -v $NEXT_VERSION~$(date "+%y%m%d%H") "nightly release" -D $(lsb_release --short --codename)'
./nncc docker-run dch -r ''
fi

Expand Down

0 comments on commit 74da96d

Please sign in to comment.