Skip to content

Commit ddac0ca

Browse files
authored
Merge pull request #1704 from ClickHouse/fix_release_workflow
updated workflows to use token
2 parents a168f30 + 4f50f45 commit ddac0ca

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
env:
1414
CHC_BRANCH: "main"
15-
CHC_VERSION: "0.6.0"
15+
CHC_VERSION: "0.6.1"
1616

1717
jobs:
1818
nightly:

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
version:
77
description: "Release version"
88
required: true
9-
default: "0.6.0-SNAPSHOT"
9+
default: "0.6.1-SNAPSHOT"
1010

1111
jobs:
1212
release:
@@ -57,8 +57,8 @@ jobs:
5757
maven_args: -q --batch-mode
5858
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
5959
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
60-
nexus_username: ${{ secrets.SONATYPE_USER }}
61-
nexus_password: ${{ secrets.SONATYPE_PASSWD }}
60+
nexus_username: ${{ secrets.SONATYPE_TOKEN_USER }}
61+
nexus_password: ${{ secrets.SONATYPE_TOKEN }}
6262
- name: Release R2DBC 0.9.1
6363
uses: samuelmeuli/action-maven-publish@v1
6464
with:
@@ -67,8 +67,8 @@ jobs:
6767
maven_args: -q --batch-mode -Dr2dbc-spi.version=0.9.1.RELEASE
6868
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
6969
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
70-
nexus_username: ${{ secrets.SONATYPE_USER }}
71-
nexus_password: ${{ secrets.SONATYPE_PASSWD }}
70+
nexus_username: ${{ secrets.SONATYPE_TOKEN_USER }}
71+
nexus_password: ${{ secrets.SONATYPE_TOKEN }}
7272
- name: Create Pre-release on Github
7373
uses: "zhicwu/action-automatic-releases@latest"
7474
with:

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@
8585
</distributionManagement>
8686

8787
<properties>
88-
<revision>0.6.0-SNAPSHOT</revision>
89-
<project.current.year>2023</project.current.year>
88+
<revision>0.6.1-SNAPSHOT</revision>
89+
<project.current.year>2024</project.current.year>
9090
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
9191
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
9292

0 commit comments

Comments
 (0)