mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 14:26:30 +03:00
Merge pull request #2084 from deltachat/alphaversions
let core carry a 1.50.0-alpha.0 version
This commit is contained in:
4
Cargo.lock
generated
4
Cargo.lock
generated
@@ -1003,7 +1003,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "deltachat"
|
name = "deltachat"
|
||||||
version = "1.49.0"
|
version = "1.50.0-alpha.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ansi_term 0.12.1",
|
"ansi_term 0.12.1",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
@@ -1079,7 +1079,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "deltachat_ffi"
|
name = "deltachat_ffi"
|
||||||
version = "1.49.0"
|
version = "1.50.0-alpha.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"async-std",
|
"async-std",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "deltachat"
|
name = "deltachat"
|
||||||
version = "1.49.0"
|
version = "1.50.0-alpha.0"
|
||||||
authors = ["Delta Chat Developers (ML) <delta@codespeak.net>"]
|
authors = ["Delta Chat Developers (ML) <delta@codespeak.net>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "MPL-2.0"
|
license = "MPL-2.0"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "deltachat_ffi"
|
name = "deltachat_ffi"
|
||||||
version = "1.49.0"
|
version = "1.50.0-alpha.0"
|
||||||
description = "Deltachat FFI"
|
description = "Deltachat FFI"
|
||||||
authors = ["Delta Chat Developers (ML) <delta@codespeak.net>"]
|
authors = ["Delta Chat Developers (ML) <delta@codespeak.net>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|||||||
@@ -63,13 +63,14 @@ def main():
|
|||||||
ffi_toml = read_toml_version("deltachat-ffi/Cargo.toml")
|
ffi_toml = read_toml_version("deltachat-ffi/Cargo.toml")
|
||||||
assert core_toml == ffi_toml, (core_toml, ffi_toml)
|
assert core_toml == ffi_toml, (core_toml, ffi_toml)
|
||||||
|
|
||||||
for line in open("CHANGELOG.md"):
|
if "alpha" not in newversion:
|
||||||
## 1.25.0
|
for line in open("CHANGELOG.md"):
|
||||||
if line.startswith("## "):
|
## 1.25.0
|
||||||
if line[2:].strip().startswith(newversion):
|
if line.startswith("## "):
|
||||||
break
|
if line[2:].strip().startswith(newversion):
|
||||||
else:
|
break
|
||||||
raise SystemExit("CHANGELOG.md contains no entry for version: {}".format(newversion))
|
else:
|
||||||
|
raise SystemExit("CHANGELOG.md contains no entry for version: {}".format(newversion))
|
||||||
|
|
||||||
replace_toml_version("Cargo.toml", newversion)
|
replace_toml_version("Cargo.toml", newversion)
|
||||||
replace_toml_version("deltachat-ffi/Cargo.toml", newversion)
|
replace_toml_version("deltachat-ffi/Cargo.toml", newversion)
|
||||||
|
|||||||
Reference in New Issue
Block a user