Skip to content

Commit

Permalink
Add a github workflow to run the gh-release.sh script from github act…
Browse files Browse the repository at this point in the history
…ions

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
  • Loading branch information
anjannath authored and praveenkumar committed Mar 7, 2023
1 parent 3a23ef0 commit 2c9567a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish release on github
on:
workflow_dispatch:
jobs:
publish_release:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Prepare empty notable changes
run: touch notable_changes.txt
- name: Run gh-release.sh
run: NONINTERACTIVE=1 ./gh-release.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2c9567a

Please sign in to comment.