Skip to content

Commit 27e569c

Browse files
committed
Simplify release template and workflow
1 parent e070a75 commit 27e569c

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

.github/workflows/create-release.yml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -114,17 +114,10 @@ jobs:
114114
id: release_notes
115115
run: |
116116
version="${{ steps.get_version.outputs.VERSION }}"
117-
detailed_commits="${{ steps.get_commits.outputs.DETAILED_COMMITS }}"
118117
119118
# Use a simplified approach to avoid complex string replacements
120119
cat > release_notes.md << 'EOL'
121-
## What's Changed
122-
<!-- GitHub will automatically populate this section -->
123120
124-
**Full Changelog**: <!-- GitHub will automatically populate this -->
125-
126-
## Detailed Changes
127-
DETAILED_COMMITS_PLACEHOLDER
128121
129122
## 🔐 Security Info
130123
@@ -134,39 +127,18 @@ jobs:
134127
- Size:
135128
- SHA256:
136129
137-
- **Winhance.exe**
138-
- Size:
139-
- SHA256:
140-
141-
## Known Issues
142-
<!-- List known issues -->
143-
-
144-
145130
## Installation
146131
Download from [winhance.net](https://winhance.net) or directly from this release.
147132
148133
The Winhance.Installer.exe includes both Installable and Portable versions during setup.
149134
150-
## Compatibility
151-
- Windows 10/11
152-
- Tested on Windows 10 x64 22H2 and Windows 11 24H2
153-
154135
## Feedback
155136
Please report any issues on the [GitHub Issues page](https://github.com/memstechtips/Winhance/issues).
156137
EOL
157138
158139
# Replace version if needed
159140
sed -i "s/VERSION/$version/g" release_notes.md
160141
161-
# Replace detailed commits placeholder with a safer approach
162-
# First save detailed commits to a temporary file
163-
echo "$detailed_commits" > detailed_commits_temp.txt
164-
165-
# Then use a safer approach to insert the content
166-
awk -v r="$(cat detailed_commits_temp.txt)" '{gsub(/DETAILED_COMMITS_PLACEHOLDER/,r)}1' release_notes.md > temp_notes.md
167-
mv temp_notes.md release_notes.md
168-
rm detailed_commits_temp.txt
169-
170142
# Set as output
171143
echo "NOTES<<EOF" >> $GITHUB_OUTPUT
172144
cat release_notes.md >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)