Skip to content

Commit d34dfb3

Browse files
committed
Update Maven workflow to trigger on release events and revert version to 2.2.0 in POM file
1 parent d3fa324 commit d34dfb3

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/maven--package-publish.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: Publishing to Maven Packages
22
#on: [ push ] # Trigger the workflow when a push (commit) event occurs
33
on:
4-
push:
5-
branches:
6-
- fix/workflow-release
74
release:
85
types: [ created ]
96
jobs:

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>com.contentstack.sdk</groupId>
77
<artifactId>java</artifactId>
8-
<version>2.2.0-beta</version>
8+
<version>2.2.0</version>
99
<packaging>jar</packaging>
1010
<name>contentstack-java</name>
1111
<description>Java SDK for Contentstack Content Delivery API</description>

0 commit comments

Comments
 (0)