From 10ccbfb342e562ba5b5ae480a31fa19c4c765191 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sat, 29 Jun 2024 10:30:18 +0200 Subject: [PATCH] build: add br_version to output Signed-off-by: AuxXxilium --- .github/workflows/build.yml | 3 ++- scripts/func.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e559f323..7777cfa3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/scripts/func.sh b/scripts/func.sh index a4533877..a68424b7 100755 --- a/scripts/func.sh +++ b/scripts/func.sh @@ -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