configure author on site commits
This commit is contained in:
parent
4d11732a47
commit
296062b869
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -32,7 +32,7 @@ site-docs: site
|
|||
for f in site/manual/gh*.md; do sed -i.bak -e '/^### SEE ALSO/,$$d' "$$f"; done
|
||||
rm -f site/manual/*.bak
|
||||
git -C site add 'manual/gh*.md'
|
||||
git -C site commit -m 'update help docs' || true
|
||||
git -C site commit --author "cli automation <noreply@github.com>" -m 'update help docs' || true
|
||||
.PHONY: site-docs
|
||||
|
||||
site-publish: site-docs
|
||||
|
|
@ -41,6 +41,6 @@ ifndef GITHUB_REF
|
|||
endif
|
||||
sed -i.bak -E 's/(assign version = )".+"/\1"$(GITHUB_REF:refs/tags/v%=%)"/' site/index.html
|
||||
rm -f site/index.html.bak
|
||||
git -C site commit -m '$(GITHUB_REF:refs/tags/v%=%)' index.html
|
||||
git -C site commit --author "cli automation <noreply@github.com>" -m '$(GITHUB_REF:refs/tags/v%=%)' index.html
|
||||
git -C site push
|
||||
.PHONY: site-publish
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue