Skip to content

Commit

Permalink
Automatically make a release draft on version tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianberneanu committed May 3, 2022
1 parent 73522b6 commit bc29870
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release
on:
push:
tags:
- 'v*'

jobs:
publish:
runs-on: ubuntu-latest
container: pgxn/pgxn-tools
steps:
- name: Install deps
run: |
sudo apt update
apt-get install -y jq
- name: Check out the repo
uses: actions/checkout@v2
- name: Package release
run: make package
- name: Make release draft
uses: softprops/action-gh-release@v1
with:
body_path: CHANGELOG.md
draft: true
prerelease: true

0 comments on commit bc29870

Please sign in to comment.