File tree 3 files changed +47
-2
lines changed
src/main/java/com/ibm/eventstreams/connect/mqsource
3 files changed +47
-2
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ tags :
4
+ - ' v[0-9]+.[0-9]+.[0-9]+' # Push events to matching semver, i.e. 10.0.0
5
+
6
+ name : Build and create release
7
+
8
+ jobs :
9
+ build :
10
+ name : Build and upload release binary
11
+ # if: github.event.base_ref == 'refs/heads/master' # only run if on master branch
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Checkout code
15
+ uses : actions/checkout@v2
16
+ - name : Set up JDK 1.8
17
+ uses : actions/setup-java@v1
18
+ with :
19
+ java-version : 1.8
20
+ - name : Get java-version
21
+ run : |
22
+ BUILD_VERSION=$( mvn help:evaluate -Dexpression=project.version -q -DforceStdout )
23
+ echo "::set-env name=VERSION::$BUILD_VERSION"
24
+ - name : Build
25
+ run : mvn package
26
+ - name : Create Release
27
+ id : create_release
28
+ uses : actions/create-release@v1
29
+ env :
30
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31
+ with :
32
+ tag_name : ${{ github.ref }}
33
+ release_name : Release ${{ github.ref }}
34
+ draft : false
35
+ prerelease : false
36
+ - name : Upload Release Asset
37
+ id : upload-release-asset
38
+ uses : actions/upload-release-asset@v1
39
+ env :
40
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41
+ with :
42
+ upload_url : ${{ steps.create_release.outputs.upload_url }}
43
+ asset_path : ./target/kafka-connect-mq-source-${{env.VERSION}}-jar-with-dependencies.jar
44
+ asset_name : kafka-connect-mq-source-${{env.VERSION}}-jar-with-dependencies.jar
45
+ asset_content_type : application/java-archive
Original file line number Diff line number Diff line change 20
20
<groupId >com.ibm.eventstreams.connect</groupId >
21
21
<artifactId >kafka-connect-mq-source</artifactId >
22
22
<packaging >jar</packaging >
23
- <version >1.3.0 </version >
23
+ <version >1.3.1 </version >
24
24
<name >kafka-connect-mq-source</name >
25
25
<organization >
26
26
<name >IBM Corporation</name >
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ public class MQSourceConnector extends SourceConnector {
135
135
public static final String CONFIG_DOCUMENTATION_TOPIC = "The name of the target Kafka topic." ;
136
136
public static final String CONFIG_DISPLAY_TOPIC = "Target Kafka topic" ;
137
137
138
- public static String VERSION = "1.3.0 " ;
138
+ public static String VERSION = "1.3.1 " ;
139
139
140
140
private Map <String , String > configProps ;
141
141
You can’t perform that action at this time.
0 commit comments