Skip to content

Commit

Permalink
adjusted release/nightly to use LTS or predefined CH_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
chernser committed Nov 7, 2024
1 parent 41cd12e commit 2c585d1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
env:
CHC_BRANCH: "main"
CHC_VERSION: "0.7.1"
CH_VERSION: "24.8"

jobs:
nightly:
Expand Down Expand Up @@ -66,7 +67,7 @@ jobs:
uses: samuelmeuli/action-maven-publish@v1
with:
maven_profiles: release
maven_args: -q --batch-mode
maven_args: -q --batch-mode -DclickhouseVersion=${{ env.CH_VERSION }}
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
nexus_username: ${{ secrets.SONATYPE_TOKEN_USER }}
Expand All @@ -76,7 +77,7 @@ jobs:
with:
directory: clickhouse-r2dbc
maven_profiles: release
maven_args: -q --batch-mode -Dr2dbc-spi.version=0.9.1.RELEASE
maven_args: -q --batch-mode -Dr2dbc-spi.version=0.9.1.RELEASE -DclickhouseVersion=${{ env.CH_VERSION }}
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
nexus_username: ${{ secrets.SONATYPE_TOKEN_USER }}
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
required: true
default: "0.7.1-SNAPSHOT"

env:
CH_VERSION: "24.8"

jobs:
release:
name: "Build and Publish Artifact"
Expand Down Expand Up @@ -54,7 +57,7 @@ jobs:
uses: samuelmeuli/action-maven-publish@v1
with:
maven_profiles: release
maven_args: -q --batch-mode
maven_args: -q --batch-mode -DclickhouseVersion=${{ env.CH_VERSION }}
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
nexus_username: ${{ secrets.SONATYPE_TOKEN_USER }}
Expand All @@ -64,7 +67,7 @@ jobs:
with:
directory: clickhouse-r2dbc
maven_profiles: release
maven_args: -q --batch-mode -Dr2dbc-spi.version=0.9.1.RELEASE
maven_args: -q --batch-mode -Dr2dbc-spi.version=0.9.1.RELEASE -DclickhouseVersion=${{ env.CH_VERSION }}
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
nexus_username: ${{ secrets.SONATYPE_TOKEN_USER }}
Expand Down

0 comments on commit 2c585d1

Please sign in to comment.