Skip to content

Commit 464f7df

Browse files
committed
chore: keep README instructions in sync
1 parent ae6e3c1 commit 464f7df

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313

1414
1. Add the dependency in `MODULE.bazel`. Until this module lands in the Bazel Central Registry, pin the GitHub release with an override:
1515
```starlark
16-
bazel_dep(name = "rules_sbom", version = "0.4.5")
16+
bazel_dep(name = "rules_sbom", version = "0.5.0")
1717

1818
archive_override(
1919
module_name = "rules_sbom",
20-
urls = ["https://github.com/rtbot-dev/rules_sbom/archive/refs/tags/v0.4.5.tar.gz"],
21-
strip_prefix = "rules_sbom-0.4.5",
20+
urls = ["https://github.com/rtbot-dev/rules_sbom/archive/refs/tags/v0.5.0.tar.gz"],
21+
strip_prefix = "rules_sbom-0.5.0",
2222
sha256 = "<sha256>",
2323
)
2424
```

release-please-config.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,25 @@
77
"pull-request-header": "## Release Preview\n\nThis automated PR prepares `rules_sbom` for the next tag. Please review the version bump and changelog.",
88
"pull-request-footer": "---\n\nOnce merged, Release Please will tag `v${version}` and publish the GitHub release automatically.",
99
"extra-files": [
10-
"MODULE.bazel"
10+
"MODULE.bazel",
11+
{
12+
"type": "text",
13+
"path": "README.md",
14+
"search": "bazel_dep\\(name = \\"rules_sbom\\", version = \\"[^"]+\\"\)",
15+
"replace": "bazel_dep(name = \\"rules_sbom\\", version = \\"{{version}}\\")"
16+
},
17+
{
18+
"type": "text",
19+
"path": "README.md",
20+
"search": "refs/tags/v[0-9.]+",
21+
"replace": "refs/tags/v{{version}}"
22+
},
23+
{
24+
"type": "text",
25+
"path": "README.md",
26+
"search": "rules_sbom-[0-9.]+",
27+
"replace": "rules_sbom-{{version}}"
28+
}
1129
]
1230
}
1331
}

0 commit comments

Comments
 (0)