Skip to content

Commit

Permalink
Fixing the changelog version/release info in case of smoketest (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipecosta90 authored Nov 21, 2024
1 parent 27ab5dc commit 262d2c7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 262d2c7

Please sign in to comment.