Skip to content

Commit

Permalink
chore: unify package versions + changelogs
Browse files Browse the repository at this point in the history
  • Loading branch information
JMBeresford committed Aug 27, 2024
1 parent 4189b48 commit 83391e8
Show file tree
Hide file tree
Showing 9 changed files with 53 additions and 20 deletions.
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ exclude = ["**/node_modules"]

[package]
name = "retrom"
version = "0.0.49"
description = "Retrom is a centralized game library/collection management service with a focus on emulation."
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
Expand All @@ -16,6 +16,7 @@ repository.workspace = true

[workspace.package]
edition = "2021"
version = "0.0.50"
authors = ["John Beresford <[email protected]>"]
license = "GPL-3.0"
readme = "./README.md"
Expand Down Expand Up @@ -43,12 +44,12 @@ tracing-futures = { version = "0.2.5", features = ["tokio", "futures"] }
tokio = { version = "1.37.0", features = ["full"] }
tokio-util = { version = "0.7.11", features = ["io", "compat"] }
dotenvy = "0.15.7"
retrom-db = { path = "./packages/db", version = "^0.0.12" }
retrom-client = { path = "./packages/client", version = "^0.0.45" }
retrom-service = { path = "./packages/service", version = "^0.0.18" }
retrom-codegen = { path = "./packages/codegen", version = "^0.0.16" }
retrom-plugin-installer = { path = "./plugins/retrom-plugin-installer", version = "^0.0.11" }
retrom-plugin-launcher = { path = "./plugins/retrom-plugin-launcher", version = "^0.0.13" }
retrom-db = { path = "./packages/db", version = "^0.0.50" }
retrom-client = { path = "./packages/client", version = "^0.0.50" }
retrom-service = { path = "./packages/service", version = "^0.0.50" }
retrom-codegen = { path = "./packages/codegen", version = "^0.0.50" }
retrom-plugin-installer = { path = "./plugins/retrom-plugin-installer", version = "^0.0.50" }
retrom-plugin-launcher = { path = "./plugins/retrom-plugin-launcher", version = "^0.0.50" }
futures = "0.3.30"
bytes = "1.6.0"
reqwest = { version = "0.12.3", features = [
Expand Down
2 changes: 1 addition & 1 deletion packages/client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "retrom-client"
version = "0.0.45"
version.workspace = true
authors.workspace = true
repository.workspace = true
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion packages/codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "retrom-codegen"
version = "0.0.16"
version.workspace = true
description = "Code generation for Retrom"
authors.workspace = true
repository.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion packages/db/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "retrom-db"
description = "Database layer for Retrom"
version = "0.0.12"
version.workspace = true
authors.workspace = true
repository.workspace = true
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion packages/service/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "retrom-service"
version = "0.0.18"
version.workspace = true
authors.workspace = true
repository.workspace = true
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion plugins/retrom-plugin-installer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "retrom-plugin-installer"
version = "0.0.11"
version.workspace = true
authors.workspace = true
repository.workspace = true
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion plugins/retrom-plugin-launcher/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "retrom-plugin-launcher"
version = "0.0.13"
version.workspace = true
authors.workspace = true
repository.workspace = true
license.workspace = true
Expand Down
32 changes: 32 additions & 0 deletions release-plz.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[workspace]
changelog_update = false
git_release_enable = false
release_always = false
semver_check = false
Expand All @@ -7,3 +8,34 @@ publish_no_verify = true
[[package]]
name = "retrom"
git_release_enable = true

[[package]]
name = "retrom-client"
changelog_update = true
changelog_path = "./CHANGELOG.md"

[[package]]
name = "retrom-server"
changelog_update = true
changelog_path = "./CHANGELOG.md"

[changelog]
body = """
## `{{ package }}` - [{{ version | trim_start_matches(pat="v") }}]{%- if release_link -%}({{ release_link }}){% endif %} - {{ timestamp | date(format="%Y-%m-%d") }}
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first }}
{% for commit in commits %}
{%- if commit.scope -%}
- *({{commit.scope}})* {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }}{%- if commit.links %} ({% for link in commit.links %}[{{link.text}}]({{link.href}}) {% endfor -%}){% endif %}
{% else -%}
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }}
{% endif -%}
{% endfor -%}
{% endfor -%}
"""

commit_parsers = [
{ message = "^feat", group = "added" },
{ message = "^fix", group = "fixed" },
]

0 comments on commit 83391e8

Please sign in to comment.