forked from doka-guide/content
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,8 +27,19 @@ FORMATTED_DATE="$DAY $RUS_MONTH" | |
|
||
node .github/scripts/update-changelog.js "$FORMATTED_DATE" | ||
|
||
git config --local user.email "<[email protected]>" | ||
git config --local user.name "Doka Dog" | ||
git add CHANGELOG.md | ||
git commit -m "Обновляет CHANGELOG" | ||
git push | ||
|
||
if [[ -z $(git status -s) ]] | ||
then | ||
echo $(git status) | ||
else | ||
git config user.name "Doka Dog" | ||
git config user.email "<[email protected]>" | ||
|
||
git add CHANGELOG.md | ||
git commit -m "Обновляет CHANGELOG" --author "Doka Dog <[email protected]>" | ||
|
||
git pull --rebase | ||
git push origin main | ||
|
||
exit | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters