Skip to content

Commit 523f336

Browse files
committed
workflows: Move to gh release
1 parent b027a62 commit 523f336

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,12 @@ jobs:
4444
rm -rf tmp
4545
4646
- name: Create GitHub release
47-
uses: cockpit-project/action-release@7d2e2657382e8d34f88a24b5987f2b81ea165785
48-
with:
49-
filename: "dist/python_dbusmock-${{ github.ref_name }}.tar.gz"
47+
run: |
48+
VERSION="${{ github.ref_name }}"
49+
git tag -l --format='%(contents:body)' $VERSION > release-note.txt
50+
51+
gh release create --title $VERSION --notes-file release-note.txt $VERSION \
52+
"dist/python_dbusmock-${VERSION}.tar.gz"
5053
5154
- name: Create PyPy release
5255
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)