Skip to content

Commit 7b1cb1d

Browse files
authored
Add step to create GitHub release in workflow
1 parent 166175c commit 7b1cb1d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ jobs:
4747
git tag $VERSION
4848
git push --tags origin release-version-${VERSION}
4949
50+
- name: Create Release
51+
run: |
52+
gh release create ${VERSION} --title "Release ${VERSION}" --generate-notes
53+
env:
54+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55+
5056
- name: Start container with postgres for testing
5157
run: docker compose --file unit-test-db-compose.yaml up --build --wait --detach
5258

0 commit comments

Comments
 (0)