-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing the changelog version/release info in case of smoketest (#279)
- Loading branch information
1 parent
27ab5dc
commit 262d2c7
Showing
1 changed file
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,13 +34,18 @@ jobs: | |
debhelper dput libevent-dev libpcre2-dev libssl-dev pkg-config | ||
- name: Create changelog | ||
env: | ||
VERSION: ${{ github.event.release.tag_name }} | ||
VERSION: ${{ github.event.inputs.tag_name || github.event.release.tag_name }} | ||
DIST: ${{ matrix.dist }} | ||
run: | | ||
mkdir -p sources/debian | ||
if [ "${{ github.event_name }}" = "release" ]; then | ||
RELEASE_URL=": ${{ github.event.release.html_url }}" | ||
else | ||
RELEASE_URL="" | ||
fi | ||
(echo "memtier-benchmark ($VERSION~$DIST) $DIST; urgency=medium" | ||
echo "" | ||
echo " * Release ${{ github.event.release.tag_name }}: ${{ github.event.release.html_url }}" | ||
echo " * Release $VERSION$RELEASE_URL" | ||
echo "" | ||
echo " -- Redis Team <[email protected]> $(date -R)") > sources/debian/changelog | ||
- name: Build source package | ||
|