build: add br_version to output

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-06-29 10:30:18 +02:00
parent 07a8376ffa
commit 10ccbfb342
2 changed files with 3 additions and 2 deletions

View File

@ -134,7 +134,7 @@ jobs:
getOffline "files/p3/configs"
echo "Get Buildroot"
getBuildroot "latest" "br"
#echo "BR_VERSION=${TAG}" >> $GITHUB_ENV
echo "BR_VERSION=${TAG}" >> $GITHUB_ENV
echo "BUILD_TIME=$(date +'%Y-%m-%d %H:%M')" >> $GITHUB_ENV
echo "OK"
@ -237,6 +237,7 @@ jobs:
Patches: ${{ env.PATCHESTAG }}
Theme: ${{ env.THEMETAG }}
LKM: ${{ env.LKMTAG }}
Buildroot: ${{ env.BR_VERSION }}
artifacts: |
arc-*.zip
update.zip

View File

@ -203,7 +203,7 @@ function getTheme() {
# $2 path
function getBuildroot() {
echo "Getting Buildroot begin"
local TAG="${1:-latest}"
TAG="${1:-latest}"
local DEST_PATH="${2:-br}"
if [ "${TAG}" = "latest" ]; then