diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 2c95c80..0280855 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -4,6 +4,7 @@ on:
push:
branches:
- master
+ - '**/v**'
pull_request:
branches:
- master
@@ -28,4 +29,8 @@ jobs:
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
run: |
- mvn -B -e -f pom.xml clean deploy --settings maven-settings.xml
+ if [[ "${GITHUB_REF}" == refs/tags/* ]]; then
+ mvn -B -e -f pom.xml clean deploy -P release-sign-artifacts --settings maven-settings.xml
+ else
+ mvn -B -e -f pom.xml clean deploy --settings maven-settings.xml
+ fi
diff --git a/pom.xml b/pom.xml
index 3c51acb..18e8ca5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
org.lucee
kinesis-extension
- 1.0.0.79
+ 1.0.0.79-SNAPSHOT
pom
Kinesis Extension
@@ -15,7 +15,7 @@
org.lucee
kinesis-extension
kinesis-extension
- 1.0.0.79
+ 1.0.0.79-SNAPSHOT