Skip to content

Commit 142cc43

Browse files
committed
tweak release GH action
1 parent 2c5d514 commit 142cc43

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: Create a release from a tag
22

3-
# todo: change to trigger on tag
43
on:
4+
push:
5+
tags:
6+
- "v*.*.*"
7+
- "v*.*"
58
workflow_dispatch:
69

710
jobs:
@@ -18,13 +21,10 @@ jobs:
1821
- name: Build with Maven
1922
#we are skipping tests as tests are executed when creating a tag
2023
run: mvn -B package --file pom.xml -DskipTests
21-
- name: Create Release
22-
run: echo ${{ github.sha }} > Release.txt
23-
- name: Test
24-
run: cat Release.txt
2524
- name: Release
2625
uses: softprops/action-gh-release@v1
2726
with:
2827
files: |
2928
Release.txt
30-
connector/target/kafka-questdb-connector-*-bin.zip
29+
connector/target/kafka-questdb-connector-*-bin.zip
30+
draft: true

0 commit comments

Comments
 (0)