mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-22 14:35:43 -06:00
Update hugo-version-update.yml
This commit is contained in:
parent
0c22317171
commit
afdaaaf408
1 changed files with 4 additions and 6 deletions
10
.github/workflows/hugo-version-update.yml
vendored
10
.github/workflows/hugo-version-update.yml
vendored
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in a new issue