Compare commits

...

4 Commits

Author SHA1 Message Date
Taiki Endo
7dcb31b803 Release 2.26.8 2024-02-01 00:50:22 +09:00
Taiki Endo
9546f7a9e6 Update osv-scanner@latest to 1.6.2 2024-01-31 15:10:44 +09:00
Taiki Endo
e6605310f9 Tweak comment in Cargo.toml 2024-01-28 01:46:28 +09:00
Taiki Endo
dd34dd71c2 tools: Tweak scripts 2024-01-27 23:57:26 +09:00
5 changed files with 33 additions and 7 deletions

View File

@@ -10,6 +10,10 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [2.26.8] - 2024-01-31
- Update `osv-scanner@latest` to 1.6.2.
## [2.26.7] - 2024-01-26
- Update `syft@latest` to 0.102.0.
@@ -1703,7 +1707,8 @@ Note: This release is considered a breaking change because installing on version
Initial release
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.26.7...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.26.8...HEAD
[2.26.8]: https://github.com/taiki-e/install-action/compare/v2.26.7...v2.26.8
[2.26.7]: https://github.com/taiki-e/install-action/compare/v2.26.6...v2.26.7
[2.26.6]: https://github.com/taiki-e/install-action/compare/v2.26.5...v2.26.6
[2.26.5]: https://github.com/taiki-e/install-action/compare/v2.26.4...v2.26.5

View File

@@ -2,7 +2,7 @@
resolver = "2"
members = ["tools/codegen"]
# This table is shared by projects under https://github.com/taiki-e.
# This table is shared by projects under github.com/taiki-e.
# It is not intended for manual editing.
[workspace.lints.rust]
improper_ctypes = "warn"

View File

@@ -21,13 +21,33 @@
}
},
"latest": {
"version": "1.6.1"
"version": "1.6.2"
},
"1": {
"version": "1.6.1"
"version": "1.6.2"
},
"1.6": {
"version": "1.6.1"
"version": "1.6.2"
},
"1.6.2": {
"x86_64_linux_gnu": {
"checksum": "b8440f451509ea4a4f12b363352659e7c37718d8e170d537ffdd481b031cfd41"
},
"x86_64_macos": {
"checksum": "07cd355aa9b0bc3b1013b9e053cf79ebadfe51d48337707194d39807293d79c8"
},
"x86_64_windows": {
"checksum": "2bccba4c1b97906ec9dab4307d2ec701c5636f786e073707880ba91e57a71923"
},
"aarch64_linux_gnu": {
"checksum": "57821f223373d259469d5d08bd7710cd228e7c056aaa5ab70045ba3f9d32c991"
},
"aarch64_macos": {
"checksum": "646bf2564680ef776de5478ec5fd34f2ed3f945345d16aa01f64e388fa40c9d6"
},
"aarch64_windows": {
"checksum": "060270c5499d51890f97812ef92e751b7243e0a76503376d860d083712f62a7d"
}
},
"1.6.1": {
"x86_64_linux_gnu": {

View File

@@ -76,10 +76,10 @@ if [[ -n "${tags}" ]]; then
fi
# Update changelog.
remote_url=$(grep -E '^\[Unreleased\]: https://' "${changelog}" | sed 's/^\[Unreleased\]: //; s/\.\.\.HEAD$//')
before_tag="${remote_url#*/compare/}"
prev_tag="${remote_url#*/compare/}"
remote_url="${remote_url%/compare/*}"
sed -i "s/^## \\[Unreleased\\]/## [Unreleased]\\n\\n## [${version}] - ${release_date}/" "${changelog}"
sed -i "s#^\[Unreleased\]: https://.*#[Unreleased]: ${remote_url}/compare/${tag}...HEAD\\n[${version}]: ${remote_url}/compare/${before_tag}...${tag}#" "${changelog}"
sed -i "s#^\[Unreleased\]: https://.*#[Unreleased]: ${remote_url}/compare/${tag}...HEAD\\n[${version}]: ${remote_url}/compare/${prev_tag}...${tag}#" "${changelog}"
if ! grep -Eq "^## \\[${version//./\\.}\\] - ${release_date}$" "${changelog}"; then
bail "failed to update ${changelog}"
fi

View File

@@ -91,6 +91,7 @@ if [[ -n "$(git ls-files '*.rs')" ]]; then
error "please replace \`.cast()\` with \`.cast::<type_name>()\`:"
echo "${cast_without_turbofish}"
fi
# Sync readme and crate-level doc.
first='1'
for readme in $(git ls-files '*README.md'); do
if ! grep -q '^<!-- tidy:crate-doc:start -->' "${readme}"; then