AI-native design editor. Open-source Figma alternative.
Fix effect ordering test, add contributors to release notes
Danila Poyarkovb7e5ea2d45ed
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 9bf7bb68f..76a1c6439 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -65,7 +65,7 @@ jobs:id: changeloguses: ffurrer2/extract-release-notes@v2- - name: Add contributors to release notes+ - name: Add new contributors to release notesif: startsWith(github.ref, 'refs/tags/v')id: release_bodyenv:@@ -73,20 +73,27 @@ jobs:RELEASE_NOTES: ${{ steps.changelog.outputs.release_notes }}run: |PREV_TAG=$(git tag -l 'v*' --sort=-version:refname | sed -n '2p')- CONTRIBUTORS=""+ NEW=""if [ -n "$PREV_TAG" ]; then- CONTRIBUTORS=$(gh api "repos/${{ github.repository }}/compare/${PREV_TAG}...${{ github.ref_name }}" \- --jq '[.commits[].author.login // empty] | unique | map("@" + .) | join(", ")' 2>/dev/null || true)+ PREV=$(git log "$PREV_TAG" --format='%aE' | sort -u)+ NEW=$(comm -23 \+ <(git log "${PREV_TAG}..${{ github.ref_name }}" --format='%aE' | sort -u) \+ <(echo "$PREV") \+ | while read -r email; do+ git log "${PREV_TAG}..${{ github.ref_name }}" --format="%aE %aN" \+ | grep "^${email} " | head -1 | sed 's/^[^ ]* //'+ done)fi+EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64){echo "body<<$EOF"printf '%s\n' "$RELEASE_NOTES"- if [ -n "$CONTRIBUTORS" ]; then+ if [ -n "$NEW" ]; thenecho ""- echo "### Contributors"+ echo "### New Contributors"echo ""- echo "$CONTRIBUTORS"+ echo "$NEW" | while read -r name; do echo "- $name"; donefiecho "$EOF"} >> "$GITHUB_OUTPUT"