From 5659a0b3c885151ad3043b00eff4cfbabf5f7060 Mon Sep 17 00:00:00 2001 From: Terrasse Date: Thu, 29 Aug 2024 20:41:09 +0800 Subject: [PATCH] fix syntax error --- .github/workflows/pkg-aur-bin.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/pkg-aur-bin.yml b/.github/workflows/pkg-aur-bin.yml index afa7adc..50de2c7 100644 --- a/.github/workflows/pkg-aur-bin.yml +++ b/.github/workflows/pkg-aur-bin.yml @@ -19,7 +19,7 @@ jobs: - name: Validate version tag run: | if [[ ! $tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then - echo "Abnormal version tag: $tag"" + echo "Abnormal version tag: $tag" echo "valid=0" >> $GITHUB_ENV else version=$(echo $tag | sed 's/^v//') @@ -27,11 +27,9 @@ jobs: echo "valid=1" >> $GITHUB_ENV fi - name: Fetch PKGBUILD - if: env.valid == '1' run: | wget https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD\?h\=chsrc -O ./PKGBUILD - name: Update PKGBUILD - if: env.valid == '1' run: | sed -i "s/pkgver=.*/pkgver=$version/" PKGBUILD - name: Publish to AUR