Skip to content

Commit 3db9c2c

Browse files
committed
chore: draft master release with dump attached
1 parent 5a8a128 commit 3db9c2c

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Release
22

33
on:
44
push:
5+
branches:
6+
- master
57
tags:
68
- '*.*.*'
79

@@ -31,7 +33,7 @@ jobs:
3133
make build-db
3234
nohup make serve &
3335
sleep 3
34-
- name: Release
36+
- name: Release tag
3537
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8
3638
if: startsWith(github.ref, 'refs/tags/')
3739
with:
@@ -41,3 +43,14 @@ jobs:
4143
pokeapi.pgdump
4244
db.sqlite3
4345
generate_release_notes: true
46+
- name: Release master
47+
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8
48+
if: github.ref == 'refs/heads/master'
49+
with:
50+
draft: true
51+
name: 'master'
52+
fail_on_unmatched_files: true
53+
files: |
54+
pokeapi.pgdump
55+
db.sqlite3
56+
generate_release_notes: false

0 commit comments

Comments
 (0)