-
Notifications
You must be signed in to change notification settings - Fork 39
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
1 parent
ad133f1
commit 247001a
Showing
1 changed file
with
8 additions
and
3 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 |
---|---|---|
|
@@ -35,6 +35,11 @@ jobs: | |
run: | | ||
git config --global user.name "GitHub Actions" | ||
git config --global user.email "[email protected]" | ||
git add CHANGELOG.md | ||
git commit -m "Updated main CHANGELOG.md file with latest merged release." | ||
git push https://${TOKEN}:[email protected]/MikroElektronika/mikrosdk_v2.git HEAD:master | ||
if [ -n "$(git status --porcelain)" ]; then | ||
echo "Updating with new CHANGELOG.md"; | ||
git add CHANGELOG.md | ||
git commit -m "Updated main CHANGELOG.md file with latest merged release." | ||
git push https://${TOKEN}:[email protected]/MikroElektronika/mikrosdk_v2.git HEAD:master | ||
else | ||
echo "No changes made to CHANGELOG.md"; | ||
fi |