Skip to content

Commit

Permalink
[no ci] script packager for debian (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii authored May 4, 2022
1 parent dad9286 commit df96c4d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cmake/build_deb.sh → packages/debian/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ else
FWDIR=$(dirname "${BASH_SOURCE-$0}")
fi

APP_HOME="$(cd "${FWDIR}/.."; pwd)"
APP_HOME="$(cd "${FWDIR}/../.."; pwd)"

VERSION_MAJOR="2"
VERSION_MINOR="1"
VERSION_BUILD="1"
VERSION_MAJOR="1"
VERSION_MINOR="0"
VERSION_BUILD="2"
if [ -n "$VERSION_BUILD" ]; then
VERSION=${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_BUILD}
else
Expand All @@ -35,3 +35,4 @@ $APP_HOME/debian/rules clean
rm $APP_HOME/debian/changelog
rm $APP_HOME/debian/control
unlink $APP_HOME/debian

0 comments on commit df96c4d

Please sign in to comment.