Skip to content

Commit f64098f

Browse files
committed
Removed changelog extraction from Windows/macOS (Linux only)
1 parent 7e799be commit f64098f

2 files changed

Lines changed: 0 additions & 24 deletions

File tree

.github/workflows/build_macos.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,8 @@ jobs:
3939
name: RP2A03_macOS
4040
path: ci/bin/*.zip
4141
retention-days: 30
42-
- name: Extract Changelog
43-
if: startsWith(github.ref, 'refs/tags/v')
44-
run: |
45-
VERSION="${GITHUB_REF_NAME#v}"
46-
awk -v ver="$VERSION" '
47-
BEGIN { found=0; printing=0; pattern="^"ver":?$" }
48-
$0 ~ pattern { found=1; printing=1; next }
49-
printing && /^[0-9]+\.[0-9]+\.[0-9]+:?$/ { printing=0 }
50-
printing { print }
51-
' ./Changelist.txt > /tmp/release_notes.txt
52-
shell: bash
5342
- name: Upload to GitHub Release
5443
if: startsWith(github.ref, 'refs/tags/v')
5544
uses: softprops/action-gh-release@v1
5645
with:
5746
files: ci/bin/*.zip
58-
body_path: /tmp/release_notes.txt

.github/workflows/build_windows.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,8 @@ jobs:
3232
name: RP2A03_Windows
3333
path: ci/bin/*.zip
3434
retention-days: 30
35-
- name: Extract Changelog
36-
if: startsWith(github.ref, 'refs/tags/v')
37-
run: |
38-
VERSION="${GITHUB_REF_NAME#v}"
39-
awk -v ver="$VERSION" '
40-
BEGIN { found=0; printing=0; pattern="^"ver":?$" }
41-
$0 ~ pattern { found=1; printing=1; next }
42-
printing && /^[0-9]+\.[0-9]+\.[0-9]+:?$/ { printing=0 }
43-
printing { print }
44-
' ./Changelist.txt > /tmp/release_notes.txt
45-
shell: bash
4635
- name: Upload to GitHub Release
4736
if: startsWith(github.ref, 'refs/tags/v')
4837
uses: softprops/action-gh-release@v1
4938
with:
5039
files: ci/bin/*.zip
51-
body_path: /tmp/release_notes.txt

0 commit comments

Comments
 (0)