diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8653d4979..d13b22284 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,11 +20,12 @@ jobs: uses: actions/setup-java@v1 with: java-version: 1.8 + - run: sed -i -e 's|^\( \).*\(\)$|\1${{ github.event.inputs.version }}\2|' pom.xml - name: Release Maven package uses: samuelmeuli/action-maven-publish@v1 with: maven_profiles: release - maven_args: -Drevision=${{ github.event.inputs.version }} --batch-mode + maven_args: --batch-mode gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }} nexus_username: ${{ secrets.SONATYPE_USER }} diff --git a/pom.xml b/pom.xml index a90f22521..73ffe765b 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ ru.yandex.clickhouse clickhouse-jdbc - ${revision} + 0.2.6 jar clickhouse-jdbc @@ -52,7 +52,6 @@ - 0.2.6 1.7.30 2021 UTF-8