-
Notifications
You must be signed in to change notification settings - Fork 1.1k
chore(protobuf-4.x-rc): release 1.76.0-rc1 #11842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(protobuf-4.x-rc): release 1.76.0-rc1 #11842
Conversation
|
Created using the following script that confirms that every snapshot version was a minor bump of the previously released version: def main() -> None:
versions = defaultdict(dict)
with open('versions.txt') as file:
skip = 0
for line in file:
if skip < 3:
skip += 1
continue
module, released_version, current_version = line.rstrip().split(':')
released_major = int(released_version.split('.')[0])
current_major = int(current_version.split('.')[0])
released_minor = int(released_version.split('.')[1])
current_minor = int(current_version.split('.')[1])
current_patch = current_version.split('.')[2]
assert current_minor == released_minor + 1, line.rstrip()
assert current_major == released_major, line.rstrip()
assert current_patch == '0-SNAPSHOT' or current_patch == '0-beta-SNAPSHOT', line.rstrip()After that I modified all poms and the 4 READMES from this query to remove snapshot from the versions where there is a def main() -> None:
for filetype in ['poms']:
with open('poms') as file:
for entry in [line.rstrip() for line in file]:
process_file(entry)
def process_file(file):
modified = False
rf = open(file)
wf = open(file + '.new', 'w')
for line in rf:
if 'x-version-update:' in line:
line = line.replace('-SNAPSHOT', '-rc1')
modified = True
wf.write(line)
rf.close()
wf.close()
if modified:
subprocess.run(['rm', file])
subprocess.run(['mv', file + '.new', file])
else:
subprocess.run(['rm', file + '.new'])Lastly, looking at #11838 I modified CHANGELOG.md, versions.txt and .release-please-manifest.json |
|
🤖 Created releases: 🌻 |
🤖 I have created a release beep boop
1.76.0-rc1
1.76.0-rc1 (2025-12-17)
Features
Dependencies