Skip to content

Commit 214fac4

Browse files
committed
ci(wasm-privacy-coin): use revision/changelist version pattern in pom.xml
Switch pom.xml from hardcoded version to ${revision}${changelist} pattern for dynamic versioning from the semantic-release git tag. Ticket: CSHLD-1161
1 parent a18232e commit 214fac4

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,6 @@ jobs:
8282
git config user.name "github-actions[bot]"
8383
git config user.email "github-actions[bot]@users.noreply.github.com"
8484
85-
- name: Setup JDK 17 (for wasm-privacy-coin Maven deploy)
86-
uses: actions/setup-java@v4
87-
with:
88-
distribution: corretto
89-
java-version: "17"
90-
9185
- name: Install dependencies
9286
run: npm ci --workspaces --include-workspace-root
9387

packages/wasm-privacy-coin/pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.bitgo</groupId>
88
<artifactId>wasm-privacy-coin</artifactId>
9-
<version>0.1.0</version>
9+
<version>${revision}${changelist}</version>
1010
<packaging>jar</packaging>
1111

1212
<description>WASM module for shielded merkle tree operations</description>
@@ -15,6 +15,8 @@
1515
<maven.compiler.source>17</maven.compiler.source>
1616
<maven.compiler.target>17</maven.compiler.target>
1717
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18+
<revision>0.1.0</revision>
19+
<changelist>-SNAPSHOT</changelist>
1820
</properties>
1921

2022
<dependencies>

0 commit comments

Comments
 (0)