Skip to content

Commit 2c9567a

Browse files
anjannathpraveenkumar
authored andcommitted
Add a github workflow to run the gh-release.sh script from github actions
this would allow a developer to publish release to github by running the workflow and not having to run the script from her computer, it currently doesnot handle the notable changes section of the release notes, that needs to be manually added by editing the release after its published
1 parent 3a23ef0 commit 2c9567a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/release.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Publish release on github
2+
on:
3+
workflow_dispatch:
4+
jobs:
5+
publish_release:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Check out repository code
9+
uses: actions/checkout@v3
10+
with:
11+
fetch-depth: 0
12+
- name: Prepare empty notable changes
13+
run: touch notable_changes.txt
14+
- name: Run gh-release.sh
15+
run: NONINTERACTIVE=1 ./gh-release.sh
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)