diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7d12e1b5..c0170607 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -138,7 +138,6 @@ jobs: echo "${ARC_VERSION}" > "files/p1/ARC-VERSION" echo "ARC_VERSION=${ARC_VERSION}" >> $GITHUB_ENV echo "${ARC_BRANCH}" > "files/p1/ARC-BRANCH" - echo "ARC_BRANCH=${ARC_BRANCH}" >> $GITHUB_ENV echo "Create Arc Image" IMAGE_FILE="arc.img" @@ -219,7 +218,6 @@ jobs: echo "${ARC_VERSION}" > "files/p1/ARC-VERSION" echo "ARC_VERSION=${ARC_VERSION}" >> $GITHUB_ENV echo "${ARC_BRANCH}" > "files/p1/ARC-BRANCH" - echo "ARC_BRANCH=${ARC_BRANCH}" >> $GITHUB_ENV echo "Create Arc Image" IMAGE_FILE="arc.img" @@ -300,7 +298,6 @@ jobs: echo "${ARC_VERSION}" > "files/p1/ARC-VERSION" echo "ARC_VERSION=${ARC_VERSION}" >> $GITHUB_ENV echo "${ARC_BRANCH}" > "files/p1/ARC-BRANCH" - echo "ARC_BRANCH=${ARC_BRANCH}" >> $GITHUB_ENV echo "Create Arc Image" IMAGE_FILE="arc.img" diff --git a/img-gen.sh b/img-gen.sh index 0823b400..73615b8e 100755 --- a/img-gen.sh +++ b/img-gen.sh @@ -53,10 +53,9 @@ sudo mount ${LOOPX}p3 "/tmp/p3" ARC_BUILD="$(date +'%y%m%d')" ARC_VERSION="13.3.7" ARC_BRANCH="dev" - -for file in ARC_BUILD ARC_VERSION ARC_BRANCH; do - echo "${!file}" > "files/p1/${file}" -done +echo "${ARC_VERSION}" >"files/p1/ARC-VERSION" +echo "${ARC_BUILD}" >"files/p1/ARC-BUILD" +echo "${ARC_BRANCH}" >"files/p1/ARC-BRANCH" echo "Repack initrd" if [ -f "br/bzImage-arc" ] && [ -f "br/initrd-arc" ]; then