Skip to content

Commit 2a3fbc1

Browse files
committed
Post-release version bump to 0.8.99
Now that 0.8.0 is out, bump the version number to 0.8.99 and add a placeholder for changes to NEWS.md. This is the first time I'm bumping the version to .99 (following NetBSD's approach) because, while I'm working on new features and publishing screenshots of them, seeing the prior version number is very confusing. Note that 0.8.99 should never be published as such. Either this will become the next 0.9.0, or a new 0.8.1 if there are critical changes over 0.8.0.
1 parent 31f68b5 commit 2a3fbc1

File tree

12 files changed

+48
-34
lines changed

12 files changed

+48
-34
lines changed

.github/workflows/update-version.sh

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,22 +52,30 @@ main() {
5252
local version="${1}"; shift
5353
local date="$(date +%Y-%m-%d)"
5454

55-
replace README.md -E "/latest version/s/[0-9]+\\.[0-9]+\\.[0-9]+/${version}/g"
56-
replace README.md -E "/releases\/tag/s/[0-9]+\\.[0-9]+\\.[0-9]+/${version}/g"
57-
replace README.md -E "/released on/s/[0-9]{4}-[0-9]{2}-[0-9]{2}/${date}/g"
55+
local devel=
56+
case "${version}" in
57+
*.99) devel=true ;;
58+
*) devel=false ;;
59+
esac
5860

59-
replace NEWS.md -E "/Changes in.*X\\.Y\\.Z/s/[X0-9]+\\.[Y0-9]+\\.[Z0-9]+/${version}/g"
60-
replace NEWS.md -E "/STILL UNDER DEVELOPMENT/s/^.*$/**Released on ${date}.**/g"
61+
if [ "${devel}" = false ]; then
62+
replace README.md -E "/latest version/s/[0-9]+\\.[0-9]+\\.[0-9]+/${version}/g"
63+
replace README.md -E "/releases\/tag/s/[0-9]+\\.[0-9]+\\.[0-9]+/${version}/g"
64+
replace README.md -E "/released on/s/[0-9]{4}-[0-9]{2}-[0-9]{2}/${date}/g"
65+
66+
replace NEWS.md -E "/Changes in.*X\\.Y\\.Z/s/[X0-9]+\\.[Y0-9]+\\.[Z0-9]+/${version}/g"
67+
replace NEWS.md -E "/STILL UNDER DEVELOPMENT/s/^.*$/**Released on ${date}.**/g"
68+
69+
replace .github/workflows/deploy-release.yml \
70+
-E "s/endbasic-[0-9]+\\.[0-9]+\\.[0-9]+/endbasic-${version}/g"
71+
fi
6172

6273
for f in */Cargo.toml; do
6374
replace "${f}" -E "/ENDBASIC-VERSION/s/[0-9]+\\.[0-9]+\\.[0-9]+/${version}/g"
6475
done
6576

6677
replace web/package.json -E "/\"version\"/s/[0-9]+\\.[0-9]+\\.[0-9]+/${version}/g"
6778
fix_package_lock web/package-lock.json "${version}"
68-
69-
replace .github/workflows/deploy-release.yml \
70-
-E "s/endbasic-[0-9]+\\.[0-9]+\\.[0-9]+/endbasic-${version}/g"
7179
}
7280

7381
main "${@}"

NEWS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ to talk to the cloud service. If you use the web interface, this should not be
1010
a problem, but if you use local builds, please try to stay on the latest release
1111
for the time being.**
1212

13+
## Changes in version X.Y.Z
14+
15+
**STILL UNDER DEVELOPMENT; NOT RELEASED YET.**
16+
17+
* No changes recorded.
18+
1319
## Changes in version 0.8.0
1420

1521
**Released on 2021-11-11.**

cli/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "endbasic"
3-
version = "0.8.0" # ENDBASIC-VERSION
3+
version = "0.8.99" # ENDBASIC-VERSION
44
license = "Apache-2.0"
55
authors = ["Julio Merino <jmmv@endbasic.dev>"]
66
categories = ["development-tools", "parser-implementations"]
@@ -24,29 +24,29 @@ getopts = "0.2"
2424
thiserror = "1.0"
2525

2626
[dependencies.endbasic-core]
27-
version = "0.8.0" # ENDBASIC-VERSION
27+
version = "0.8.99" # ENDBASIC-VERSION
2828
path = "../core"
2929

3030
[dependencies.endbasic-repl]
31-
version = "0.8.0" # ENDBASIC-VERSION
31+
version = "0.8.99" # ENDBASIC-VERSION
3232
path = "../repl"
3333

3434
[dependencies.endbasic-rpi]
35-
version = "0.8.0" # ENDBASIC-VERSION
35+
version = "0.8.99" # ENDBASIC-VERSION
3636
path = "../rpi"
3737
optional = true
3838

3939
[dependencies.endbasic-sdl]
40-
version = "0.8.0" # ENDBASIC-VERSION
40+
version = "0.8.99" # ENDBASIC-VERSION
4141
path = "../sdl"
4242
optional = true
4343

4444
[dependencies.endbasic-std]
45-
version = "0.8.0" # ENDBASIC-VERSION
45+
version = "0.8.99" # ENDBASIC-VERSION
4646
path = "../std"
4747

4848
[dependencies.endbasic-terminal]
49-
version = "0.8.0" # ENDBASIC-VERSION
49+
version = "0.8.99" # ENDBASIC-VERSION
5050
path = "../terminal"
5151
optional = true
5252

core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "endbasic-core"
3-
version = "0.8.0" # ENDBASIC-VERSION
3+
version = "0.8.99" # ENDBASIC-VERSION
44
license = "Apache-2.0"
55
authors = ["Julio Merino <jmmv@endbasic.dev>"]
66
categories = ["development-tools", "parser-implementations"]

repl/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "endbasic-repl"
3-
version = "0.8.0" # ENDBASIC-VERSION
3+
version = "0.8.99" # ENDBASIC-VERSION
44
license = "Apache-2.0"
55
authors = ["Julio Merino <jmmv@endbasic.dev>"]
66
categories = ["development-tools", "parser-implementations"]
@@ -16,11 +16,11 @@ async-trait = "0.1"
1616
time = { version = "0.2", features = ["std"] }
1717

1818
[dependencies.endbasic-core]
19-
version = "0.8.0" # ENDBASIC-VERSION
19+
version = "0.8.99" # ENDBASIC-VERSION
2020
path = "../core"
2121

2222
[dependencies.endbasic-std]
23-
version = "0.8.0" # ENDBASIC-VERSION
23+
version = "0.8.99" # ENDBASIC-VERSION
2424
path = "../std"
2525

2626
[dev-dependencies]

rpi/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "endbasic-rpi"
3-
version = "0.8.0" # ENDBASIC-VERSION
3+
version = "0.8.99" # ENDBASIC-VERSION
44
license = "Apache-2.0"
55
authors = ["Julio Merino <jmmv@endbasic.dev>"]
66
categories = ["development-tools", "parser-implementations"]
@@ -15,5 +15,5 @@ edition = "2018"
1515
rppal = "0.11.3"
1616

1717
[dependencies.endbasic-std]
18-
version = "0.8.0" # ENDBASIC-VERSION
18+
version = "0.8.99" # ENDBASIC-VERSION
1919
path = "../std"

sdl/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "endbasic-sdl"
3-
version = "0.8.0" # ENDBASIC-VERSION
3+
version = "0.8.99" # ENDBASIC-VERSION
44
license = "Apache-2.0"
55
authors = ["Julio Merino <jmmv@endbasic.dev>"]
66
categories = ["development-tools", "parser-implementations"]
@@ -17,7 +17,7 @@ once_cell = "1.8"
1717
tempfile = "3"
1818

1919
[dependencies.endbasic-std]
20-
version = "0.8.0" # ENDBASIC-VERSION
20+
version = "0.8.99" # ENDBASIC-VERSION
2121
path = "../std"
2222

2323
[dependencies.sdl2]

std/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "endbasic-std"
3-
version = "0.8.0" # ENDBASIC-VERSION
3+
version = "0.8.99" # ENDBASIC-VERSION
44
license = "Apache-2.0"
55
authors = ["Julio Merino <jmmv@endbasic.dev>"]
66
categories = ["development-tools", "parser-implementations"]
@@ -22,7 +22,7 @@ serde_json = "1.0"
2222
time = { version = "0.2", features = ["std"] }
2323

2424
[dependencies.endbasic-core]
25-
version = "0.8.0" # ENDBASIC-VERSION
25+
version = "0.8.99" # ENDBASIC-VERSION
2626
path = "../core"
2727

2828
# We don't directly use getrandom but rand does, and we have to customize how

terminal/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "endbasic-terminal"
3-
version = "0.8.0" # ENDBASIC-VERSION
3+
version = "0.8.99" # ENDBASIC-VERSION
44
license = "Apache-2.0"
55
authors = ["Julio Merino <jmmv@endbasic.dev>"]
66
categories = ["development-tools", "parser-implementations"]
@@ -16,5 +16,5 @@ async-trait = "0.1"
1616
crossterm = "0.18"
1717

1818
[dependencies.endbasic-std]
19-
version = "0.8.0" # ENDBASIC-VERSION
19+
version = "0.8.99" # ENDBASIC-VERSION
2020
path = "../std"

web/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "endbasic-web"
3-
version = "0.8.0" # ENDBASIC-VERSION
3+
version = "0.8.99" # ENDBASIC-VERSION
44
license = "Apache-2.0"
55
authors = ["Julio Merino <jmmv@endbasic.dev>"]
66
categories = ["development-tools", "parser-implementations"]
@@ -31,15 +31,15 @@ wasm-bindgen = "^0.2.78"
3131
wasm-bindgen-futures = "0.4"
3232

3333
[dependencies.endbasic-core]
34-
version = "0.8.0" # ENDBASIC-VERSION
34+
version = "0.8.99" # ENDBASIC-VERSION
3535
path = "../core"
3636

3737
[dependencies.endbasic-repl]
38-
version = "0.8.0" # ENDBASIC-VERSION
38+
version = "0.8.99" # ENDBASIC-VERSION
3939
path = "../repl"
4040

4141
[dependencies.endbasic-std]
42-
version = "0.8.0" # ENDBASIC-VERSION
42+
version = "0.8.99" # ENDBASIC-VERSION
4343
path = "../std"
4444

4545
[dependencies.web-sys]

0 commit comments

Comments
 (0)