let core carry a 1.50.0-alpha.0 version (which sits between 1.49.X and 1.50.0).

This way we can better distinguish tagged from untagged core releases, also in logs etc.
We might, from time to time, increase the alpha.N "N" number if we are entering testing etc.
This commit is contained in:
holger krekel
2020-11-16 16:12:55 +01:00
parent 8d2a5cd242
commit d66174e55a
4 changed files with 12 additions and 11 deletions

4
Cargo.lock generated
View File

@@ -1003,7 +1003,7 @@ dependencies = [
[[package]]
name = "deltachat"
version = "1.49.0"
version = "1.50.0-alpha.0"
dependencies = [
"ansi_term 0.12.1",
"anyhow",
@@ -1079,7 +1079,7 @@ dependencies = [
[[package]]
name = "deltachat_ffi"
version = "1.49.0"
version = "1.50.0-alpha.0"
dependencies = [
"anyhow",
"async-std",

View File

@@ -1,6 +1,6 @@
[package]
name = "deltachat"
version = "1.49.0"
version = "1.50.0-alpha.0"
authors = ["Delta Chat Developers (ML) <delta@codespeak.net>"]
edition = "2018"
license = "MPL-2.0"

View File

@@ -1,6 +1,6 @@
[package]
name = "deltachat_ffi"
version = "1.49.0"
version = "1.50.0-alpha.0"
description = "Deltachat FFI"
authors = ["Delta Chat Developers (ML) <delta@codespeak.net>"]
edition = "2018"

View File

@@ -63,13 +63,14 @@ def main():
ffi_toml = read_toml_version("deltachat-ffi/Cargo.toml")
assert core_toml == ffi_toml, (core_toml, ffi_toml)
for line in open("CHANGELOG.md"):
## 1.25.0
if line.startswith("## "):
if line[2:].strip().startswith(newversion):
break
else:
raise SystemExit("CHANGELOG.md contains no entry for version: {}".format(newversion))
if "alpha" not in newversion:
for line in open("CHANGELOG.md"):
## 1.25.0
if line.startswith("## "):
if line[2:].strip().startswith(newversion):
break
else:
raise SystemExit("CHANGELOG.md contains no entry for version: {}".format(newversion))
replace_toml_version("Cargo.toml", newversion)
replace_toml_version("deltachat-ffi/Cargo.toml", newversion)