diff --git a/.github/workflows/pr-lint.yaml b/.github/workflows/pr-lint.yaml index a67683cc19e..53b3523b06f 100644 --- a/.github/workflows/pr-lint.yaml +++ b/.github/workflows/pr-lint.yaml @@ -50,6 +50,7 @@ jobs: revert style test + release # Configure which scopes are allowed (newline-delimited). # These are regex patterns auto-wrapped in `^ $`. scopes: | diff --git a/x.py b/x.py index 1a1dcf97c65..a248672b952 100755 --- a/x.py +++ b/x.py @@ -265,11 +265,11 @@ def package_source(release_version: str, release_candidate_number: Optional[int] # 1. Git commit and tag git = find_command('git', msg='git is required for source packaging') - run(git, 'commit', '-a', '-m', f'[source-release] prepare release apache-kvrocks-{version}') + run(git, 'commit', '-a', '-m', f'release: prepare source release apache-kvrocks-{version}') if release_candidate_number is None: - run(git, 'tag', '-a', f'v{version}', '-m', f'[source-release] copy for tag v{version}') + run(git, 'tag', '-a', f'v{version}', '-m', f'release: copy for tag v{version}') else: - run(git, 'tag', '-a', f'v{version}-rc{release_candidate_number}', '-m', f'[source-release] copy for tag v{version}-rc{release_candidate_number}') + run(git, 'tag', '-a', f'v{version}-rc{release_candidate_number}', '-m', f'release: copy for tag v{version}-rc{release_candidate_number}') # 2. Create the source tarball folder = f'apache-kvrocks-{version}-src'