Skip to content

Commit 4c7b549

Browse files
Merge pull request #31 from cmdscale/update_release_workflows
Update release workflows
2 parents 720eae1 + 4e0f3cd commit 4c7b549

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

.github/scripts/generate-changelog.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ for commit_hash in "${COMMITS[@]}"; do
9696
done
9797

9898
{
99-
echo "# Changelog for $VERSION_TITLE"
99+
echo "## Changelog for $VERSION_TITLE"
100100
echo ""
101101
if [[ -z "$TAG_OR_RANGE" ]]; then
102102
echo "This page shows unreleased changes in the development version."
@@ -108,21 +108,21 @@ done
108108
echo ""
109109

110110
if [[ -n "$FEATURES" ]]; then
111-
echo "## ✨ New Features"
111+
echo "### ✨ New Features"
112112
echo ""
113113
echo "$FEATURES"
114114
echo ""
115115
fi
116116

117117
if [[ -n "$FIXES" ]]; then
118-
echo "## 🐛 Fixes"
118+
echo "### 🐛 Fixes"
119119
echo ""
120120
echo "$FIXES"
121121
echo ""
122122
fi
123123

124124
if [[ -n "$MISC" ]]; then
125-
echo "## 🔧 Miscellaneous"
125+
echo "### 🔧 Miscellaneous"
126126
echo ""
127127
echo "$MISC"
128128
echo ""

.github/workflows/release.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -187,13 +187,8 @@ jobs:
187187
uses: softprops/action-gh-release@v2
188188
with:
189189
tag_name: ${{ steps.build_info.outputs.tag_name }}
190-
name: "Release ${{ steps.build_info.outputs.version }}"
190+
name: "CmdScale.EntityFrameworkCore.TimescaleDB ${{ steps.build_info.outputs.version }}"
191191
body: |
192-
## CmdScale.EntityFrameworkCore.TimescaleDB Release ${{ steps.build_info.outputs.version }}
193-
194-
Release Date: ${{ steps.build_info.outputs.date }} ${{ steps.build_info.outputs.time }}
195-
196-
### Changes
197192
${{ needs.generate-changelog.outputs.changelog }}
198193
files: release_files/*
199194
prerelease: false

.github/workflows/snapshots.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,10 @@ jobs:
156156
body: |
157157
## Automated dev-snapshot
158158
159-
Version: ${{ steps.build_info.outputs.version }}
160-
Date: ${{ steps.build_info.outputs.date }} ${{ steps.build_info.outputs.time }}
161159
Commit: [${{ steps.build_info.outputs.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})
162160
163161
> ⚠️ These are the latest development builds and may contain bugs or unfinished features.
164162
165-
### Changes
166163
${{ needs.generate-changelog.outputs.changelog }}
167164
files: |
168165
./release_files/*

0 commit comments

Comments
 (0)