Skip to content

Commit 132060a

Browse files
committed
add pre-release
Signed-off-by: Andre Bossert <anb0s@anbos.de>
1 parent 36335ca commit 132060a

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed
Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
33

4-
name: Main
4+
name: Pre-Release
55

66
on:
77
push:
8-
branches:
9-
- main
8+
tags:
9+
- "v*.*.*-beta.*"
10+
- "v*.*.*-rc.*"
1011

1112
jobs:
1213

13-
deploy-testing:
14-
if: contains(github.event.head_commit.message, 'testing build')
14+
deploy-prerelease:
1515
runs-on: ubuntu-latest
1616
needs: [platform]
1717
steps:
@@ -22,3 +22,7 @@ jobs:
2222
branch: gh-pages
2323
folder: site/updates
2424
clean: false
25+
- name: Pre-Release
26+
uses: softprops/action-gh-release@v1
27+
with:
28+
generate_release_notes: true

0 commit comments

Comments
 (0)