Skip to content

Commit 98dc53b

Browse files
workflow fix
1 parent f9bf60c commit 98dc53b

3,590 files changed

Lines changed: 167 additions & 609671 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/sync-element-web.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ jobs:
4040
- name: Download release tarball
4141
if: steps.release.outputs.skip != 'true'
4242
run: |
43-
curl -L https://github.com/element-hq/element-web/archive/refs/tags/${{ steps.release.outputs.tag }}.tar.gz \
43+
curl -L https://github.com/element-hq/element-web/releases/download/${{ steps.release.outputs.tag }}/element-${{ steps.release.outputs.tag }}.tar.gz \
4444
-o element-web.tar.gz
4545
tar -xzf element-web.tar.gz
46-
mv element-web-* upstream-release
46+
mv element-${{ steps.release.outputs.tag }} upstream-release
4747
4848
- name: Run rename/move script
4949
if: steps.release.outputs.skip != 'true'
@@ -74,11 +74,18 @@ jobs:
7474
echo "No changes to commit"
7575
fi
7676
77+
- name: Prepare changelog for issue
78+
if: steps.release.outputs.skip != 'true'
79+
run: |
80+
# Extract content up to the second occurrence of "Changes in"
81+
awk '/Changes in/{c++; if(c==2) exit} {print}' ./processed/CHANGELOG.md > ./changelog-excerpt.md
82+
echo "Truncated changelog created"
83+
7784
- name: Notify via GitHub issue
7885
if: steps.release.outputs.skip != 'true'
7986
uses: peter-evans/create-issue-from-file@v5
8087
with:
8188
title: "New Element Web release ${{ steps.release.outputs.tag }}"
82-
content-filepath: ./processed/CHANGELOG.md
89+
content-filepath: ./changelog-excerpt.md
8390
token: ${{ secrets.GITHUB_TOKEN }}
8491

processed/AUTHORS.rst

Lines changed: 0 additions & 24 deletions
This file was deleted.

processed/CHANGELOG.md

Lines changed: 0 additions & 1343 deletions
This file was deleted.

processed/CONTRIBUTING.md

Lines changed: 0 additions & 221 deletions
This file was deleted.

processed/Dockerfile

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)