harmonize naming

This commit is contained in:
Luke Francl 2021-11-01 16:17:15 -07:00
parent f0dd1b4908
commit d10b372338

View File

@ -69,13 +69,13 @@ jobs:
exit 1
fi
echo "::set-output name=linguist_commit::$commit"
echo "::set-output name=short_linguist_commit::${commit::8}"
echo "::set-output name=commit::$commit"
echo "::set-output name=short_commit::${commit::8}"
cd ..
- name: Update Linguist commit
run: |
sed --in-place --regexp-extended 's/(commit[[:space:]]+=[[:space:]])("[a-f0-9]{40}")/\1"${{ steps.linguist-release.outputs.linguist_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
- name: Generate code
run: make code-generate
- name: Commit changes
@ -110,7 +110,7 @@ jobs:
pr_body: |
Automated Linguist update :robot:
This PR updates Linguist from `[${{ steps.previous_linguist.outputs.short_commit }}](https://github.com/github/linguist/commit/${{ steps.previous_linguist.outputs.commit }})` to [${{ steps.linguist-release.outputs.linguist_version }}](https://github.com/github/linguist/releases/tag/${{ steps.linguist-release.outputs.linguist_version }}) (`[${{ steps.linguist-release.outputs.short_linguist_commit }}](https://github.com/github/linguist/commit/${{ steps.linguist-release.outputs.linguist_commit }})`)
This PR updates Linguist from `[${{ steps.previous_linguist.outputs.short_commit }}](https://github.com/github/linguist/commit/${{ steps.previous_linguist.outputs.commit }})` to [${{ steps.linguist-release.outputs.linguist_version }}](https://github.com/github/linguist/releases/tag/${{ steps.linguist-release.outputs.linguist_version }}) (`[${{ steps.linguist-release.outputs.short_commit }}](https://github.com/github/linguist/commit/${{ steps.linguist-release.outputs.commit }})`)
* [Linguist release notes](https://github.com/github/linguist/releases/tag/${{ steps.linguist-release.outputs.linguist_version }})
* [Compare Linguist code changes](https://github.com/github/linguist/compare/${{ steps.previous_linguist.outputs.commit }}...${{ steps.linguist-release.outputs.linguist_version }})