Skip to content

Commit

Permalink
Merge pull request #1704 from ClickHouse/fix_release_workflow
Browse files Browse the repository at this point in the history
updated workflows to use token
  • Loading branch information
chernser authored Jun 22, 2024
2 parents a168f30 + 4f50f45 commit ddac0ca
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

env:
CHC_BRANCH: "main"
CHC_VERSION: "0.6.0"
CHC_VERSION: "0.6.1"

jobs:
nightly:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
version:
description: "Release version"
required: true
default: "0.6.0-SNAPSHOT"
default: "0.6.1-SNAPSHOT"

jobs:
release:
Expand Down Expand Up @@ -57,8 +57,8 @@ jobs:
maven_args: -q --batch-mode
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
nexus_username: ${{ secrets.SONATYPE_USER }}
nexus_password: ${{ secrets.SONATYPE_PASSWD }}
nexus_username: ${{ secrets.SONATYPE_TOKEN_USER }}
nexus_password: ${{ secrets.SONATYPE_TOKEN }}
- name: Release R2DBC 0.9.1
uses: samuelmeuli/action-maven-publish@v1
with:
Expand All @@ -67,8 +67,8 @@ jobs:
maven_args: -q --batch-mode -Dr2dbc-spi.version=0.9.1.RELEASE
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
nexus_username: ${{ secrets.SONATYPE_USER }}
nexus_password: ${{ secrets.SONATYPE_PASSWD }}
nexus_username: ${{ secrets.SONATYPE_TOKEN_USER }}
nexus_password: ${{ secrets.SONATYPE_TOKEN }}
- name: Create Pre-release on Github
uses: "zhicwu/action-automatic-releases@latest"
with:
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@
</distributionManagement>

<properties>
<revision>0.6.0-SNAPSHOT</revision>
<project.current.year>2023</project.current.year>
<revision>0.6.1-SNAPSHOT</revision>
<project.current.year>2024</project.current.year>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

Expand Down

0 comments on commit ddac0ca

Please sign in to comment.