Skip to content

Commit bc29870

Browse files
Automatically make a release draft on version tags.
1 parent 73522b6 commit bc29870

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/release.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Release
2+
on:
3+
push:
4+
tags:
5+
- 'v*'
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
container: pgxn/pgxn-tools
11+
steps:
12+
- name: Install deps
13+
run: |
14+
sudo apt update
15+
apt-get install -y jq
16+
- name: Check out the repo
17+
uses: actions/checkout@v2
18+
- name: Package release
19+
run: make package
20+
- name: Make release draft
21+
uses: softprops/action-gh-release@v1
22+
with:
23+
body_path: CHANGELOG.md
24+
draft: true
25+
prerelease: true

0 commit comments

Comments
 (0)