Skip to content
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

Bump Version after Release #6

Open
wants to merge 41 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
faa62cd
Fix release workflow
infmagic2047 Jun 2, 2022
ff968aa
Preparing Next Release (#5)
github-actions[bot] Jun 2, 2022
e02b864
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
a4a31e7
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
a4431b0
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
50f1634
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
330661f
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
cb2ba90
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
9e15a86
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
7a103db
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
81ea9eb
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
7e0362a
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
a91767a
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
dd118fa
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
0ce8f99
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
0c32126
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
2f9b016
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
cf8f274
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
b13b6ec
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
d0c42f6
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
32a38be
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
21dc048
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
4d83c13
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
d1778e7
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
92356a1
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
509cac8
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
2773d06
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
b68a5e2
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
c99f2c4
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
2ff245f
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
31b4d3a
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
2e7f76b
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
53e15d8
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
556280c
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
ad69632
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
909cb96
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
98814f8
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
4123962
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
3e5bef6
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
54b67e5
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
d9ad73f
(cargo-release) version 0.9.0-dev
github-actions[bot] Jun 2, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
59 changes: 59 additions & 0 deletions .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Post-release version bump

# how to trigger: https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
on:
workflow_dispatch:

env:
CARGO_TERM_COLOR: always

jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install cargo-release
run: cargo install cargo-release

- name: Setup post-release version bump
run: |
# Set the commit author to the github-actions bot. See discussion here for more information:
# https://github.com/actions/checkout/issues/13#issuecomment-724415212
# https://github.community/t/github-actions-bot-email-address/17204/6
git config user.name 'Bevy Auto Releaser'
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
# Read the current version from Cargo.toml
current_version=$(cargo metadata --format-version 1 --no-deps | \
jq --raw-output '.packages | .[] | select(.name == "bevy").version')
# Sanity check: current version should be 0.X.Y
if ! grep -q '^0\.[0-9]\+\.[0-9]\+$' <<< "${current_version}"; then
echo "Invalid version (not in 0.X.Y format): ${current_version}"
exit 1
fi
minor_version=$(sed 's/^0\.\([0-9]\+\).*/\1/' <<< "${current_version}")
next_version=0.$((minor_version + 1)).0-dev
echo "Bumping version to ${next_version}"
# See release.yml for meaning of these arguments
cargo release "${next_version}" \
--workspace \
--no-publish \
--execute \
--no-tag \
--no-confirm \
--no-push \
--exclude ci \
--exclude errors \
--exclude bevy-ios-example \
--exclude spancmp \
--exclude build-wasm-example

- name: Create PR
uses: peter-evans/create-pull-request@v3
with:
delete-branch: true
base: "main"
title: "Bump Version after Release"
body: |
Bump version after release
This PR has been auto-generated
14 changes: 11 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,32 @@ jobs:

- name: Setup release
run: |
# Set the commit author to the github-actions bot. See discussion here for more information:
# https://github.com/actions/checkout/issues/13#issuecomment-724415212
# https://github.community/t/github-actions-bot-email-address/17204/6
git config user.name 'Bevy Auto Releaser'
git config user.email 'bevy@users.noreply.github.com'
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
# release: remove the dev suffix, like going from 0.X.0-dev to 0.X.0
# --workspace: updating all crates in the workspace
# --no-publish: do not publish to crates.io
# --execute: not a dry run
# --no-tag: do not push tag for each new version
# --no-push: do not push the update commits
# --dependent-version upgrade: change 0.X.0-dev in internal dependencies to 0.X.0
# --exclude: ignore those packages
cargo release minor \
cargo release release \
--workspace \
--no-publish \
--execute \
--no-tag \
--no-confirm \
--no-push \
--dependent-version upgrade \
--exclude ci \
--exclude errors \
--exclude bevy-ios-example
--exclude bevy-ios-example \
--exclude spancmp \
--exclude build-wasm-example

- name: Create PR
uses: peter-evans/create-pull-request@v3
Expand Down
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy"
version = "0.8.0-dev"
version = "0.9.0-dev"
edition = "2021"
categories = ["game-engines", "graphics", "gui", "rendering"]
description = "A refreshingly simple data-driven game engine and app framework"
Expand Down Expand Up @@ -104,11 +104,11 @@ debug_asset_server = ["bevy_internal/debug_asset_server"]
animation = ["bevy_internal/animation"]

[dependencies]
bevy_dylib = { path = "crates/bevy_dylib", version = "0.8.0-dev", default-features = false, optional = true }
bevy_internal = { path = "crates/bevy_internal", version = "0.8.0-dev", default-features = false }
bevy_dylib = { path = "crates/bevy_dylib", version = "0.9.0-dev", default-features = false, optional = true }
bevy_internal = { path = "crates/bevy_internal", version = "0.9.0-dev", default-features = false }

[target.'cfg(target_arch = "wasm32")'.dependencies]
bevy_internal = { path = "crates/bevy_internal", version = "0.8.0-dev", default-features = false, features = [
bevy_internal = { path = "crates/bevy_internal", version = "0.9.0-dev", default-features = false, features = [
"webgl",
] }

Expand Down
22 changes: 11 additions & 11 deletions crates/bevy_animation/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_animation"
version = "0.8.0-dev"
version = "0.9.0-dev"
edition = "2021"
description = "Provides animation functionality for Bevy Engine"
homepage = "https://bevyengine.org"
Expand All @@ -10,13 +10,13 @@ keywords = ["bevy"]

[dependencies]
# bevy
bevy_app = { path = "../bevy_app", version = "0.8.0-dev" }
bevy_asset = { path = "../bevy_asset", version = "0.8.0-dev" }
bevy_core = { path = "../bevy_core", version = "0.8.0-dev" }
bevy_math = { path = "../bevy_math", version = "0.8.0-dev" }
bevy_reflect = { path = "../bevy_reflect", version = "0.8.0-dev", features = ["bevy"] }
bevy_time = { path = "../bevy_time", version = "0.8.0-dev" }
bevy_utils = { path = "../bevy_utils", version = "0.8.0-dev" }
bevy_ecs = { path = "../bevy_ecs", version = "0.8.0-dev" }
bevy_transform = { path = "../bevy_transform", version = "0.8.0-dev" }
bevy_hierarchy = { path = "../bevy_hierarchy", version = "0.8.0-dev" }
bevy_app = { path = "../bevy_app", version = "0.9.0-dev" }
bevy_asset = { path = "../bevy_asset", version = "0.9.0-dev" }
bevy_core = { path = "../bevy_core", version = "0.9.0-dev" }
bevy_math = { path = "../bevy_math", version = "0.9.0-dev" }
bevy_reflect = { path = "../bevy_reflect", version = "0.9.0-dev", features = ["bevy"] }
bevy_time = { path = "../bevy_time", version = "0.9.0-dev" }
bevy_utils = { path = "../bevy_utils", version = "0.9.0-dev" }
bevy_ecs = { path = "../bevy_ecs", version = "0.9.0-dev" }
bevy_transform = { path = "../bevy_transform", version = "0.9.0-dev" }
bevy_hierarchy = { path = "../bevy_hierarchy", version = "0.9.0-dev" }
14 changes: 7 additions & 7 deletions crates/bevy_app/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_app"
version = "0.8.0-dev"
version = "0.9.0-dev"
edition = "2021"
description = "Provides core App functionality for Bevy Engine"
homepage = "https://bevyengine.org"
Expand All @@ -16,11 +16,11 @@ bevy_reflect = ["dep:bevy_reflect", "bevy_ecs/bevy_reflect"]

[dependencies]
# bevy
bevy_derive = { path = "../bevy_derive", version = "0.8.0-dev" }
bevy_ecs = { path = "../bevy_ecs", version = "0.8.0-dev", default-features = false }
bevy_reflect = { path = "../bevy_reflect", version = "0.8.0-dev", optional = true }
bevy_utils = { path = "../bevy_utils", version = "0.8.0-dev" }
bevy_tasks = { path = "../bevy_tasks", version = "0.8.0-dev" }
bevy_derive = { path = "../bevy_derive", version = "0.9.0-dev" }
bevy_ecs = { path = "../bevy_ecs", version = "0.9.0-dev", default-features = false }
bevy_reflect = { path = "../bevy_reflect", version = "0.9.0-dev", optional = true }
bevy_utils = { path = "../bevy_utils", version = "0.9.0-dev" }
bevy_tasks = { path = "../bevy_tasks", version = "0.9.0-dev" }

# other
serde = { version = "1.0", features = ["derive"], optional = true }
Expand All @@ -33,4 +33,4 @@ web-sys = { version = "0.3", features = [ "Window" ] }

[dev-dependencies]
# bevy
bevy_log = { path = "../bevy_log", version = "0.8.0-dev" }
bevy_log = { path = "../bevy_log", version = "0.9.0-dev" }
18 changes: 9 additions & 9 deletions crates/bevy_asset/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_asset"
version = "0.8.0-dev"
version = "0.9.0-dev"
edition = "2021"
description = "Provides asset functionality for Bevy Engine"
homepage = "https://bevyengine.org"
Expand All @@ -15,13 +15,13 @@ debug_asset_server = ["filesystem_watcher"]

[dependencies]
# bevy
bevy_app = { path = "../bevy_app", version = "0.8.0-dev" }
bevy_diagnostic = { path = "../bevy_diagnostic", version = "0.8.0-dev" }
bevy_ecs = { path = "../bevy_ecs", version = "0.8.0-dev" }
bevy_log = { path = "../bevy_log", version = "0.8.0-dev" }
bevy_reflect = { path = "../bevy_reflect", version = "0.8.0-dev", features = ["bevy"] }
bevy_tasks = { path = "../bevy_tasks", version = "0.8.0-dev" }
bevy_utils = { path = "../bevy_utils", version = "0.8.0-dev" }
bevy_app = { path = "../bevy_app", version = "0.9.0-dev" }
bevy_diagnostic = { path = "../bevy_diagnostic", version = "0.9.0-dev" }
bevy_ecs = { path = "../bevy_ecs", version = "0.9.0-dev" }
bevy_log = { path = "../bevy_log", version = "0.9.0-dev" }
bevy_reflect = { path = "../bevy_reflect", version = "0.9.0-dev", features = ["bevy"] }
bevy_tasks = { path = "../bevy_tasks", version = "0.9.0-dev" }
bevy_utils = { path = "../bevy_utils", version = "0.9.0-dev" }

# other
serde = { version = "1", features = ["derive"] }
Expand All @@ -45,4 +45,4 @@ ndk-glue = { version = "0.6" }
[dev-dependencies]
futures-lite = "1.4.0"
tempfile = "3.2.0"
bevy_core = { path = "../bevy_core", version = "0.8.0-dev" }
bevy_core = { path = "../bevy_core", version = "0.9.0-dev" }
14 changes: 7 additions & 7 deletions crates/bevy_audio/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_audio"
version = "0.8.0-dev"
version = "0.9.0-dev"
edition = "2021"
description = "Provides audio functionality for Bevy Engine"
homepage = "https://bevyengine.org"
Expand All @@ -10,11 +10,11 @@ keywords = ["bevy"]

[dependencies]
# bevy
bevy_app = { path = "../bevy_app", version = "0.8.0-dev" }
bevy_asset = { path = "../bevy_asset", version = "0.8.0-dev" }
bevy_ecs = { path = "../bevy_ecs", version = "0.8.0-dev" }
bevy_reflect = { path = "../bevy_reflect", version = "0.8.0-dev", features = ["bevy"] }
bevy_utils = { path = "../bevy_utils", version = "0.8.0-dev" }
bevy_app = { path = "../bevy_app", version = "0.9.0-dev" }
bevy_asset = { path = "../bevy_asset", version = "0.9.0-dev" }
bevy_ecs = { path = "../bevy_ecs", version = "0.9.0-dev" }
bevy_reflect = { path = "../bevy_reflect", version = "0.9.0-dev", features = ["bevy"] }
bevy_utils = { path = "../bevy_utils", version = "0.9.0-dev" }

# other
anyhow = "1.0.4"
Expand All @@ -26,7 +26,7 @@ rodio = { version = "0.15", default-features = false, features = ["wasm-bindgen"

[dev-dependencies]
# bevy
bevy_internal = { path = "../bevy_internal", version = "0.8.0-dev" }
bevy_internal = { path = "../bevy_internal", version = "0.9.0-dev" }

[features]
mp3 = ["rodio/mp3"]
Expand Down
14 changes: 7 additions & 7 deletions crates/bevy_core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_core"
version = "0.8.0-dev"
version = "0.9.0-dev"
edition = "2021"
description = "Provides core functionality for Bevy Engine"
homepage = "https://bevyengine.org"
Expand All @@ -11,12 +11,12 @@ keywords = ["bevy"]

[dependencies]
# bevy
bevy_app = { path = "../bevy_app", version = "0.8.0-dev", features = ["bevy_reflect"] }
bevy_ecs = { path = "../bevy_ecs", version = "0.8.0-dev", features = ["bevy_reflect"] }
bevy_math = { path = "../bevy_math", version = "0.8.0-dev" }
bevy_reflect = { path = "../bevy_reflect", version = "0.8.0-dev", features = ["bevy"] }
bevy_tasks = { path = "../bevy_tasks", version = "0.8.0-dev" }
bevy_utils = { path = "../bevy_utils", version = "0.8.0-dev" }
bevy_app = { path = "../bevy_app", version = "0.9.0-dev", features = ["bevy_reflect"] }
bevy_ecs = { path = "../bevy_ecs", version = "0.9.0-dev", features = ["bevy_reflect"] }
bevy_math = { path = "../bevy_math", version = "0.9.0-dev" }
bevy_reflect = { path = "../bevy_reflect", version = "0.9.0-dev", features = ["bevy"] }
bevy_tasks = { path = "../bevy_tasks", version = "0.9.0-dev" }
bevy_utils = { path = "../bevy_utils", version = "0.9.0-dev" }

# other
bytemuck = "1.5"
18 changes: 9 additions & 9 deletions crates/bevy_core_pipeline/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_core_pipeline"
version = "0.8.0-dev"
version = "0.9.0-dev"
edition = "2021"
authors = [
"Bevy Contributors <bevyengine@gmail.com>",
Expand All @@ -17,14 +17,14 @@ trace = []

[dependencies]
# bevy
bevy_app = { path = "../bevy_app", version = "0.8.0-dev" }
bevy_asset = { path = "../bevy_asset", version = "0.8.0-dev" }
bevy_derive = { path = "../bevy_derive", version = "0.8.0-dev" }
bevy_ecs = { path = "../bevy_ecs", version = "0.8.0-dev" }
bevy_reflect = { path = "../bevy_reflect", version = "0.8.0-dev" }
bevy_render = { path = "../bevy_render", version = "0.8.0-dev" }
bevy_transform = { path = "../bevy_transform", version = "0.8.0-dev" }
bevy_utils = { path = "../bevy_utils", version = "0.8.0-dev" }
bevy_app = { path = "../bevy_app", version = "0.9.0-dev" }
bevy_asset = { path = "../bevy_asset", version = "0.9.0-dev" }
bevy_derive = { path = "../bevy_derive", version = "0.9.0-dev" }
bevy_ecs = { path = "../bevy_ecs", version = "0.9.0-dev" }
bevy_reflect = { path = "../bevy_reflect", version = "0.9.0-dev" }
bevy_render = { path = "../bevy_render", version = "0.9.0-dev" }
bevy_transform = { path = "../bevy_transform", version = "0.9.0-dev" }
bevy_utils = { path = "../bevy_utils", version = "0.9.0-dev" }

serde = { version = "1", features = ["derive"] }

4 changes: 2 additions & 2 deletions crates/bevy_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_derive"
version = "0.8.0-dev"
version = "0.9.0-dev"
edition = "2021"
description = "Provides derive implementations for Bevy Engine"
homepage = "https://bevyengine.org"
Expand All @@ -12,7 +12,7 @@ keywords = ["bevy"]
proc-macro = true

[dependencies]
bevy_macro_utils = { path = "../bevy_macro_utils", version = "0.8.0-dev" }
bevy_macro_utils = { path = "../bevy_macro_utils", version = "0.9.0-dev" }

quote = "1.0"
syn = { version = "1.0", features = ["full"] }
12 changes: 6 additions & 6 deletions crates/bevy_diagnostic/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_diagnostic"
version = "0.8.0-dev"
version = "0.9.0-dev"
edition = "2021"
description = "Provides diagnostic functionality for Bevy Engine"
homepage = "https://bevyengine.org"
Expand All @@ -11,8 +11,8 @@ keywords = ["bevy"]

[dependencies]
# bevy
bevy_app = { path = "../bevy_app", version = "0.8.0-dev" }
bevy_ecs = { path = "../bevy_ecs", version = "0.8.0-dev" }
bevy_log = { path = "../bevy_log", version = "0.8.0-dev" }
bevy_time = { path = "../bevy_time", version = "0.8.0-dev" }
bevy_utils = { path = "../bevy_utils", version = "0.8.0-dev" }
bevy_app = { path = "../bevy_app", version = "0.9.0-dev" }
bevy_ecs = { path = "../bevy_ecs", version = "0.9.0-dev" }
bevy_log = { path = "../bevy_log", version = "0.9.0-dev" }
bevy_time = { path = "../bevy_time", version = "0.9.0-dev" }
bevy_utils = { path = "../bevy_utils", version = "0.9.0-dev" }
4 changes: 2 additions & 2 deletions crates/bevy_dylib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_dylib"
version = "0.8.0-dev"
version = "0.9.0-dev"
edition = "2021"
description = "Force the Bevy Engine to be dynamically linked for faster linking"
homepage = "https://bevyengine.org"
Expand All @@ -12,4 +12,4 @@ keywords = ["bevy"]
crate-type = ["dylib"]

[dependencies]
bevy_internal = { path = "../bevy_internal", version = "0.8.0-dev", default-features = false }
bevy_internal = { path = "../bevy_internal", version = "0.9.0-dev", default-features = false }
4 changes: 2 additions & 2 deletions crates/bevy_dynamic_plugin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_dynamic_plugin"
version = "0.8.0-dev"
version = "0.9.0-dev"
edition = "2021"
description = "Provides dynamic plugin loading capabilities for non-wasm platforms"
homepage = "https://bevyengine.org"
Expand All @@ -12,7 +12,7 @@ keywords = ["bevy"]

[dependencies]
# bevy
bevy_app = { path = "../bevy_app", version = "0.8.0-dev" }
bevy_app = { path = "../bevy_app", version = "0.9.0-dev" }

# other
libloading = { version = "0.7" }