diff --git a/.github/workflows/hugo-version-update.yml b/.github/workflows/hugo-version-update.yml index 60481b31..d3c008ac 100644 --- a/.github/workflows/hugo-version-update.yml +++ b/.github/workflows/hugo-version-update.yml @@ -32,7 +32,7 @@ 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 | + while read version; do sed -i '' -E "s/(max = \")[0-9]+\.[0-9]+\.[0-9]+(\")/\1${version#v}\2/g" config.toml | \ release_tag=$(cat release-versions/hugo-latest.txt) | \ echo "release_tag=$release_tag" >> $GITHUB_OUTPUT @@ -50,4 +50,4 @@ jobs: [1]: https://github.com/gohugoio/hugo [2]: https://github.com/peter-evans/create-pull-request labels: dependencies, automated pr - branch: dev \ No newline at end of file + branch: dev