Skip to content

Commit 3696b0b

Browse files
Merge pull request #138 from VirtusLab/fix-ci-release
Only trigger releases on tags
2 parents fc39425 + 8f89850 commit 3696b0b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/release.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Release
22
on:
33
push:
4-
branches: [master, main]
54
tags: ["*"]
65
jobs:
76
publish:
@@ -16,4 +15,4 @@ jobs:
1615
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
1716
PGP_SECRET: ${{ secrets.PGP_SECRET }}
1817
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
19-
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
18+
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

0 commit comments

Comments
 (0)