fix(sub_folder_changelog): dont create in git submodules
!28 task in #23
This commit is contained in:
@ -1,11 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
for D in *; do
|
||||
if [ -d "${D}" ]; then
|
||||
|
||||
if [ "0${D}" != "0website-template" ]; then
|
||||
echo "[DEBUG] Creating changelog for sub-folder: ${D}"
|
||||
|
||||
CHANGELOG_DATA=$(git log --pretty="format:%ci [%h](https://gitlab.com/nofusscomputing/projects/gitlab-ci/-/commit/%H) - %s " --follow -- "${D}")
|
||||
@ -17,5 +15,6 @@ for D in *; do
|
||||
|
||||
git add ${D}/CHANGELOG.md
|
||||
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
Reference in New Issue
Block a user