Skip to content

Commit

Permalink
chore: switch to newer version bump utility (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega authored Feb 8, 2024
1 parent ce833a5 commit 72022ee
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 13 deletions.
10 changes: 0 additions & 10 deletions .bumpversion.cfg

This file was deleted.

25 changes: 25 additions & 0 deletions .bumpversion.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[tool.bumpversion]
current_version = "0.1.0"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
tag = false
sign_tags = false
tag_name = "v{new_version}"
tag_message = "release: {new_version}"
allow_dirty = false
commit = false
message = "Bump version: {current_version} → {new_version}"
commit_args = ""

[[tool.bumpversion.files]]
filename = "gen/rust/Cargo.toml"

[[tool.bumpversion.files]]
filename = "gen/node/package.json"

[[tool.bumpversion.files]]
filename = "gen/web/package.json"
2 changes: 1 addition & 1 deletion gen/node/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@utxorpc/spec",
"version": "1.0.0-alpha.1"
"version": "0.1.0"
}
2 changes: 1 addition & 1 deletion gen/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "utxorpc-spec"
version = "1.0.0-alpha.1"
version = "0.1.0"
edition = "2021"
description = "Auto-generated structs for the UTxO RPC spec"
repository = "https://github.com/utxorpc/spec"
Expand Down
2 changes: 1 addition & 1 deletion gen/web/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@utxorpc-web/spec",
"version": "1.0.0-alpha.1"
"version": "0.1.0"
}

0 comments on commit 72022ee

Please sign in to comment.