Skip to content

Commit 82f2c1e

Browse files
earl-warrenearl-warren
authored andcommitted
chore: the release link to RELEASE-NOTES.md is no longer needed (take 2) (#789)
the previous change updated how the release notes are set when building the release. This only happens in integration and never used see https://code.forgejo.org/forgejo-integration/runner/releases/tag/v9.0.2 for instance what matters is how the release notes are set when publishing the release. <!--start release-notes-assistant--> <!--URL:https://code.forgejo.org/forgejo/runner--> - other - [PR](https://code.forgejo.org/forgejo/runner/pulls/789): <!--number 789 --><!--line 0 --><!--description Y2hvcmU6IHRoZSByZWxlYXNlIGxpbmsgdG8gUkVMRUFTRS1OT1RFUy5tZCBpcyBubyBsb25nZXIgbmVlZGVkICh0YWtlIDIp-->chore: the release link to RELEASE-NOTES.md is no longer needed (take 2)<!--description--> <!--end release-notes-assistant--> Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/789 Reviewed-by: Michael Kriese <[email protected]> Co-authored-by: Earl Warren <[email protected]> Co-committed-by: Earl Warren <[email protected]>
1 parent b26db06 commit 82f2c1e

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

.forgejo/workflows/build-release.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,6 @@ jobs:
6060
version=${FORGEJO_REF_NAME##*v}
6161
echo "value=$version" >> "$FORGEJO_OUTPUT"
6262
63-
- name: release notes
64-
id: release-notes
65-
run: |
66-
cat >> "$FORGEJO_OUTPUT" <<EOF
67-
value<<ENDVAR
68-
Release Notes
69-
70-
---
71-
72-
ENDVAR
73-
EOF
74-
7563
- name: build without TOKEN
7664
if: ${{ secrets.TOKEN == '' }}
7765
uses: https://data.forgejo.org/forgejo/forgejo-build-publish/[email protected]
@@ -84,7 +72,6 @@ jobs:
8472
release-version: "${{ steps.tag-version.outputs.value }}"
8573
token: ${{ steps.token.outputs.value }}
8674
platforms: linux/amd64,linux/arm64
87-
release-notes: "${{ steps.release-notes.outputs.value }}"
8875
binary-name: forgejo-runner
8976
binary-path: /bin/forgejo-runner
9077
verbose: ${{ steps.verbose.outputs.value }}
@@ -101,7 +88,6 @@ jobs:
10188
release-version: "${{ steps.tag-version.outputs.value }}"
10289
token: "${{ secrets.TOKEN }}"
10390
platforms: linux/amd64,linux/arm64
104-
release-notes: "${{ steps.release-notes.outputs.value }}"
10591
binary-name: forgejo-runner
10692
binary-path: /bin/forgejo-runner
10793
verbose: ${{ steps.verbose.outputs.value }}

.forgejo/workflows/publish-release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ jobs:
3636
from-owner: ${{ vars.FROM_OWNER }}
3737
to-owner: ${{ vars.TO_OWNER }}
3838
repo: "runner"
39-
release-notes: "See also https://code.forgejo.org/forgejo/runner/src/branch/main/RELEASE-NOTES.md#{ANCHOR}"
39+
release-notes: |
40+
Release Notes
41+
42+
---
43+
4044
release-notes-assistant: true
4145
ref-name: ${{ forge.ref_name }}
4246
sha: ${{ forge.sha }}

0 commit comments

Comments
 (0)