fix: use project version in e2e dependencies

This commit is contained in:
RustamGimadiev 2021-09-02 12:45:20 +03:00
parent bf4fb28b5b
commit 0efe550197
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -11,7 +11,7 @@
<artifactId>kafka-ui-e2e-checks</artifactId> <artifactId>kafka-ui-e2e-checks</artifactId>
<properties> <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> <junit.version>5.7.0</junit.version>
<aspectj.version>1.9.6</aspectj.version> <aspectj.version>1.9.6</aspectj.version>
<allure.version>2.13.7</allure.version> <allure.version>2.13.7</allure.version>