mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-02-02 03:22:33 -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'
|
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; done | \
|
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
|
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
if: steps.git-check.outputs.modified == 'true'
|
if: steps.git-check.outputs.modified == 'true'
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v6
|
||||||
with:
|
with:
|
||||||
commit-message: Update Hugo supported version to ${{ steps.update-config.outputs.release_tag }}
|
commit-message: Update Hugo supported version
|
||||||
title: ⚙️ Update Hugo supported version to ${{ steps.update-config.outputs.release_tag }}
|
title: ⚙️ Update Hugo supported version
|
||||||
body: |
|
body: |
|
||||||
Updates [Hugo][1] support to ${{ steps.update-config.outputs.release_tag }}
|
Updates [Hugo][1] support
|
||||||
|
|
||||||
Auto-generated by [create-pull-request][2]
|
Auto-generated by [create-pull-request][2]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue