瀏覽代碼

fix: use project version in e2e dependencies

RustamGimadiev 3 年之前
父節點
當前提交
0efe550197
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      .github/workflows/release.yaml
  2. 1 1
      kafka-ui-e2e-checks/pom.xml

+ 1 - 0
.github/workflows/release.yaml

@@ -60,6 +60,7 @@ jobs:
         if: github.event.inputs.rebuild == 'v0.0.0'
         run: |
           mvn -q versions:set -DremoveSnapshot
+          export VERSION=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
           git add .
           git commit -m "release ${VERSION}"
           git tag -f v${VERSION}

+ 1 - 1
kafka-ui-e2e-checks/pom.xml

@@ -11,7 +11,7 @@
 
     <artifactId>kafka-ui-e2e-checks</artifactId>
     <properties>
-        <kafka-ui-contract>0.1.1-SNAPSHOT</kafka-ui-contract>
+	<kafka-ui-contract>${project.version}</kafka-ui-contract>
         <junit.version>5.7.0</junit.version>
         <aspectj.version>1.9.6</aspectj.version>
         <allure.version>2.13.7</allure.version>