mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-14 12:21:53 +00:00
Fix release version
This commit is contained in:
parent
eabc121eba
commit
67d3230d44
1 changed files with 2 additions and 2 deletions
4
build.sh
4
build.sh
|
@ -42,7 +42,7 @@ SHORTCUT_FE=${SHORTCUT_FE:-no}
|
|||
#OMR_RELEASE=${OMR_RELEASE:-$(git describe --tags `git rev-list --tags --max-count=1` | sed 's/^\([0-9.]*\).*/\1/')}
|
||||
#OMR_RELEASE=${OMR_RELEASE:-$(git tag --sort=committerdate | tail -1)}
|
||||
OMR_RELEASE=${OMR_RELEASE:-$(git describe --tags `git rev-list --tags --max-count=1` | tail -1 | cut -d '-' -f1)}
|
||||
OMR_REPO=${OMR_REPO:-http://$OMR_HOST:$OMR_PORT/release/$OMR_RELEASE/$OMR_TARGET}
|
||||
OMR_REPO=${OMR_REPO:-http://$OMR_HOST:$OMR_PORT/release/$OMR_RELEASE-$OMR_KERNEL/$OMR_TARGET}
|
||||
|
||||
OMR_FEED_URL="${OMR_FEED_URL:-https://github.com/ysurac/openmptcprouter-feeds}"
|
||||
OMR_FEED_SRC="${OMR_FEED_SRC:-develop}"
|
||||
|
@ -149,7 +149,7 @@ fi
|
|||
cat >> "$OMR_TARGET/${OMR_KERNEL}/source/package/base-files/files/etc/banner" <<EOF
|
||||
-----------------------------------------------------
|
||||
PACKAGE: $OMR_DIST
|
||||
VERSION: $(git -C "$OMR_FEED" tag --sort=committerdate | tail -1)
|
||||
VERSION: $OMR_RELEASE
|
||||
TARGET: $OMR_TARGET
|
||||
ARCH: $OMR_REAL_TARGET
|
||||
|
||||
|
|
Loading…
Reference in a new issue