mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
Update hugo-version-update.yml
This commit is contained in:
4
.github/workflows/hugo-version-update.yml
vendored
4
.github/workflows/hugo-version-update.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
|||||||
if: steps.git-check.outputs.modified == 'true'
|
if: steps.git-check.outputs.modified == 'true'
|
||||||
run: |
|
run: |
|
||||||
cat release-versions/hugo-latest.txt | \
|
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) | \
|
release_tag=$(cat release-versions/hugo-latest.txt) | \
|
||||||
echo "release_tag=$release_tag" >> $GITHUB_OUTPUT
|
echo "release_tag=$release_tag" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
@@ -50,4 +50,4 @@ jobs:
|
|||||||
[1]: https://github.com/gohugoio/hugo
|
[1]: https://github.com/gohugoio/hugo
|
||||||
[2]: https://github.com/peter-evans/create-pull-request
|
[2]: https://github.com/peter-evans/create-pull-request
|
||||||
labels: dependencies, automated pr
|
labels: dependencies, automated pr
|
||||||
branch: dev
|
branch: dev
|
||||||
|
|||||||
Reference in New Issue
Block a user