mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 05:22:23 +00:00
Auto-update Linguist version in README.md
This commit is contained in:
parent
619127770d
commit
95ac19f504
6
.github/workflows/sync-linguist.yml
vendored
6
.github/workflows/sync-linguist.yml
vendored
@ -73,9 +73,13 @@ jobs:
|
|||||||
echo "::set-output name=short_commit::${commit::8}"
|
echo "::set-output name=short_commit::${commit::8}"
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
- name: Update Linguist commit
|
- name: Update Linguist information
|
||||||
run: |
|
run: |
|
||||||
|
set -euo pipefail
|
||||||
|
IFS=$'\n\t'
|
||||||
|
|
||||||
sed --in-place --regexp-extended 's/(commit[[:space:]]+=[[:space:]])("[a-f0-9]{40}")/\1"${{ steps.linguist-release.outputs.commit }}"/' internal/code-generator/generator/generator_test.go
|
sed --in-place --regexp-extended 's/(commit[[:space:]]+=[[:space:]])("[a-f0-9]{40}")/\1"${{ steps.linguist-release.outputs.commit }}"/' internal/code-generator/generator/generator_test.go
|
||||||
|
sed --in-place --regexp-extended 's/version \*\*v.+\*\*\./version \*\*${{ steps.linguist-release.outputs.linguist_version }}\*\*\./' README.md
|
||||||
- name: Generate code
|
- name: Generate code
|
||||||
run: make code-generate
|
run: make code-generate
|
||||||
- name: Commit changes
|
- name: Commit changes
|
||||||
|
Loading…
Reference in New Issue
Block a user