From afdaaaf40858965981c009c90beb233afabf29c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Sat, 9 Mar 2024 21:58:46 +0000 Subject: [PATCH] Update hugo-version-update.yml --- .github/workflows/hugo-version-update.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/hugo-version-update.yml b/.github/workflows/hugo-version-update.yml index 4617c4b1..fc86f313 100644 --- a/.github/workflows/hugo-version-update.yml +++ b/.github/workflows/hugo-version-update.yml @@ -33,18 +33,16 @@ jobs: if: steps.git-check.outputs.modified == 'true' run: | cat release-versions/hugo-latest.txt | \ - while read version; do sed -i '' -E "s/(max = \")[0-9]+\.[0-9]+\.[0-9]+(\")/\1${version#v}\2/g" config.toml; done | \ - release_tag=$(cat release-versions/hugo-latest.txt) | \ - echo "release_tag=$release_tag" >> $GITHUB_OUTPUT + while read version; do sed -i '' -E "s/(max = \")[0-9]+\.[0-9]+\.[0-9]+(\")/\1${version#v}\2/g" config.toml; done - name: Create Pull Request if: steps.git-check.outputs.modified == 'true' uses: peter-evans/create-pull-request@v6 with: - commit-message: Update Hugo supported version to ${{ steps.update-config.outputs.release_tag }} - title: ⚙️ Update Hugo supported version to ${{ steps.update-config.outputs.release_tag }} + commit-message: Update Hugo supported version + title: ⚙️ Update Hugo supported version body: | - Updates [Hugo][1] support to ${{ steps.update-config.outputs.release_tag }} + Updates [Hugo][1] support Auto-generated by [create-pull-request][2]