Skip to content

Commit 3ca023d

Browse files
committed
Fixed yaml syntax error, added Create Release action to GHA config.
1 parent 7910f81 commit 3ca023d

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: release
22
on:
33
create:
44
tags:
5-
- *
5+
- '*'
66

77
jobs:
88
build:
@@ -28,3 +28,15 @@ jobs:
2828
- name: Push to PyPI
2929
run: |
3030
poetry publish --build --username "${{ secrets.PYPI_USERNAME }}" --password "${{ secrets.PYPI_PASSWORD }}" --no-interaction
31+
- name: Create Release
32+
id: create_release
33+
uses: actions/create-release@v1
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
with:
37+
tag_name: ${{ github.ref }}
38+
release_name: Release ${{ github.ref }}
39+
body: |
40+
Release ${{ github.ref }}
41+
draft: false
42+
prerelease: false

0 commit comments

Comments
 (0)