Skip to content

Commit 5a9b34c

Browse files
committed
Put release job back into build workflow
Lol tried this before... don't get commit status or build chain visibility...
1 parent 7560851 commit 5a9b34c

File tree

2 files changed

+22
-44
lines changed

2 files changed

+22
-44
lines changed

.github/workflows/build.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,25 @@ jobs:
5959
flags: integration-tests-${{ matrix.os }}
6060
fail_ci_if_error: true
6161
token: ${{ secrets.CODECOV_TOKEN }}
62+
63+
release:
64+
needs: [ build, integration-test ]
65+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
66+
runs-on: ubuntu-latest
67+
permissions:
68+
contents: write
69+
steps:
70+
- name: Checkout code
71+
uses: actions/checkout@v4
72+
with:
73+
fetch-depth: 0
74+
75+
- name: Bump version
76+
id: version
77+
uses: paulhatch/semantic-version@v5.4.0
78+
79+
- name: Create GitHub tag and release
80+
uses: softprops/action-gh-release@v2.0.5
81+
with:
82+
tag_name: ${{ steps.version.outputs.version_tag }}
83+
generate_release_notes: true

.github/workflows/release.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)