Skip to content

Commit 19ef41f

Browse files
chrisetekaChristopher Eteka
andauthored
Release (#42)
* cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * sample * sample * sample * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup --------- Co-authored-by: Christopher Eteka <[email protected]>
1 parent e2debed commit 19ef41f

5 files changed

Lines changed: 3 additions & 89 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ jobs:
4141
}]
4242
4343
- name: Publish Domain Package
44-
run: mvn versions:set -DnewVersion=${{ github.event.client_payload.version }} -B deploy --file paystack-domain/release-pom.xml
44+
run: mvn versions:set -DnewVersion=${{ github.event.client_payload.version }} && mvn -B deploy -pl paystack-domain
4545
env:
4646
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
4747

4848
- name: Publish Client Package
49-
run: mvn versions:set -DnewVersion=${{ github.event.client_payload.version }} -B deploy --file paystack-clients/release-pom.xml
49+
run: mvn versions:set -DnewVersion=${{ github.event.client_payload.version }} && mvn -B deploy -pl paystack-clients
5050
env:
5151
GITHUB_TOKEN: ${{ secrets.GH_PAT }}

paystack-clients/pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<version>1.0.121-SNAPSHOT</version>
88

99
<properties>
10-
<revision>1.0.121-SNAPSHOT</revision>
1110
<maven.compiler.source>17</maven.compiler.source>
1211
<maven.compiler.target>17</maven.compiler.target>
1312
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -19,7 +18,7 @@
1918
<dependency>
2019
<groupId>com.chrisworks.paystackclient</groupId>
2120
<artifactId>paystack-domain</artifactId>
22-
<version>${revision}</version>
21+
<version>${project.version}</version>
2322
</dependency>
2423
<dependency>
2524
<groupId>com.squareup.okhttp3</groupId>

paystack-clients/release-pom.xml

Lines changed: 0 additions & 46 deletions
This file was deleted.

paystack-domain/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<version>1.0.121-SNAPSHOT</version>
88

99
<properties>
10-
<revision>1.0.110</revision>
1110
<jackson.version>2.15.3</jackson.version>
1211
<maven.compiler.source>17</maven.compiler.source>
1312
<maven.compiler.target>17</maven.compiler.target>

paystack-domain/release-pom.xml

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)