test
All checks were successful
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Successful in 11s
Build and Push Teamspeak Images on Base Image Update / build-debian (push) Successful in 17s
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Successful in 17s
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Successful in 5s
Build and Push Teamspeak Images on Base Image Update / update-base-digest-cache (push) Successful in 5s
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Has been skipped
All checks were successful
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Successful in 11s
Build and Push Teamspeak Images on Base Image Update / build-debian (push) Successful in 17s
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Successful in 17s
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Successful in 5s
Build and Push Teamspeak Images on Base Image Update / update-base-digest-cache (push) Successful in 5s
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Has been skipped
This commit is contained in:
@@ -364,6 +364,11 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Sync with latest main
|
||||
run: |
|
||||
git fetch origin main
|
||||
git reset --hard origin/main
|
||||
|
||||
- name: Generate changelogs only for updated variants
|
||||
run: |
|
||||
versions=()
|
||||
@@ -395,13 +400,12 @@ jobs:
|
||||
last_commit=""
|
||||
fi
|
||||
|
||||
echo -e "\n## $(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> "$changelog"
|
||||
echo -e "\n## $(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> "$changelog"
|
||||
git log -n 10 --pretty=format:"- %s (%an)" \
|
||||
--no-merges \
|
||||
--invert-grep \
|
||||
--grep="Update changelogs on" >> "$changelog"
|
||||
|
||||
if [ -n "$last_commit" ]; then
|
||||
git log "${last_commit}..HEAD" --pretty=format:"- %s (%an)" --no-merges --invert-grep --grep="Update changelogs on" | head -n 10 >> "$changelog"
|
||||
else
|
||||
git log -n 10 --pretty=format:"- %s (%an)" --no-merges --invert-grep --grep="Update changelogs on" >> "$changelog"
|
||||
fi
|
||||
done
|
||||
|
||||
- name: Commit and push changelogs
|
||||
|
||||
Reference in New Issue
Block a user