diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b9bdfe4..94a4bd9 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -61,7 +61,7 @@ jobs: id: publish run: | sed -i "s/KERNEL_VERSION=6.*/KERNEL_VERSION=${{ env.ver }}/g" build.sh - sed -i "s/PKGREL=.*/PKGREL=${{ env.release }}/g" build.sh + sed -i '/^PKGREL=/ s/PKGREL=[0-9]*/PKGREL=${{ env.release }}/' build.sh git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" git commit -m "${{ env.ver }}-${{ env.release }}" -a