Compare commits

...

6 Commits

Author SHA1 Message Date
Taiki Endo
78118df4d7 Release 1.5.4 2022-07-16 17:23:56 +09:00
Taiki Endo
1cbab0616a Update cross, cargo-minimal-versions, and parse-changelog 2022-07-16 17:22:27 +09:00
Taiki Endo
e937b634a0 Update mdbook to 0.4.20 2022-07-16 16:19:22 +09:00
Taiki Endo
37f510303a Release 1.5.3 2022-07-08 00:35:25 +09:00
Taiki Endo
841e33c134 Update cargo-llvm-cov to 0.4.9 2022-07-08 00:28:29 +09:00
Taiki Endo
095ba5e160 Update tools/publish.sh 2022-07-06 03:39:38 +09:00
4 changed files with 28 additions and 15 deletions

View File

@@ -28,7 +28,7 @@ jobs:
# Note: Specifying the version of valgrind and wasm-pack is not supported.
# cargo-watch is supported by cargo-binstall (through quickinstall)
- cargo-hack,cargo-llvm-cov,cargo-minimal-versions,parse-changelog,cross,nextest,shellcheck,shfmt,valgrind,wasm-pack,wasmtime,mdbook,cargo-watch
- cargo-hack@0.5.14,cargo-llvm-cov@0.4.8,cargo-minimal-versions@0.1.4,parse-changelog@0.4.8,cross@0.2.2,nextest@0.9.11,shellcheck@0.8.0,shfmt@3.5.1,wasmtime@0.38.1,mdbook@0.4.19,cargo-watch@8.1.1
- cargo-hack@0.5.14,cargo-llvm-cov@0.4.9,cargo-minimal-versions@0.1.5,parse-changelog@0.4.9,cross@0.2.4,nextest@0.9.11,shellcheck@0.8.0,shfmt@3.5.1,wasmtime@0.38.1,mdbook@0.4.20,cargo-watch@8.1.1
# Nextest supports basic version ranges as well
- nextest@0.9
include:

View File

@@ -10,6 +10,17 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [1.5.4] - 2022-07-16
- Update `mdbook@latest` to 0.4.20.
- Update `cross@latest` to 0.2.4.
- Update `cargo-minimal-versions@latest` to 0.1.5.
- Update `parse-changelog@latest` to 0.4.9.
## [1.5.3] - 2022-07-07
- Update `cargo-llvm-cov@latest` to 0.4.9.
## [1.5.2] - 2022-07-02
- Update `cross@latest` to 0.2.2.
@@ -170,7 +181,9 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
Initial release
[Unreleased]: https://github.com/taiki-e/install-action/compare/v1.5.2...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v1.5.4...HEAD
[1.5.4]: https://github.com/taiki-e/install-action/compare/v1.5.3...v1.5.4
[1.5.3]: https://github.com/taiki-e/install-action/compare/v1.5.2...v1.5.3
[1.5.2]: https://github.com/taiki-e/install-action/compare/v1.5.1...v1.5.2
[1.5.1]: https://github.com/taiki-e/install-action/compare/v1.5.0...v1.5.1
[1.5.0]: https://github.com/taiki-e/install-action/compare/v1.4.2...v1.5.0

10
main.sh
View File

@@ -129,11 +129,11 @@ for tool in "${tools[@]}"; do
# https://github.com/taiki-e/cargo-hack/releases
cargo-hack) latest_version="0.5.14" ;;
# https://github.com/taiki-e/cargo-llvm-cov/releases
cargo-llvm-cov) latest_version="0.4.8" ;;
cargo-llvm-cov) latest_version="0.4.9" ;;
# https://github.com/taiki-e/cargo-minimal-versions/releases
cargo-minimal-versions) latest_version="0.1.4" ;;
cargo-minimal-versions) latest_version="0.1.5" ;;
# https://github.com/taiki-e/parse-changelog/releases
parse-changelog) latest_version="0.4.8" ;;
parse-changelog) latest_version="0.4.9" ;;
*) exit 1 ;;
esac
repo="taiki-e/${tool}"
@@ -153,7 +153,7 @@ for tool in "${tools[@]}"; do
;;
cross)
# https://github.com/cross-rs/cross/releases
latest_version="0.2.2"
latest_version="0.2.4"
repo="cross-rs/cross"
case "${OSTYPE}" in
linux*) target="x86_64-unknown-linux-musl" ;;
@@ -269,7 +269,7 @@ for tool in "${tools[@]}"; do
;;
mdbook)
# https://github.com/rust-lang/mdBook/releases
latest_version="0.4.19"
latest_version="0.4.20"
repo="rust-lang/mdBook"
case "${OSTYPE}" in
linux*) target="x86_64-unknown-linux-gnu" ;;

View File

@@ -99,16 +99,16 @@ tools=(
git push origin main
git push origin --tags
version_tag="v${version%%.*}"
git checkout -b "${version_tag}"
git push origin refs/heads/"${version_tag}"
if git --no-pager tag | grep -Eq "^${version_tag}$"; then
git tag -d "${version_tag}"
git push --delete origin refs/tags/"${version_tag}"
major_version_tag="v${version%%.*}"
git checkout -b "${major_version_tag}"
git push origin refs/heads/"${major_version_tag}"
if git --no-pager tag | grep -Eq "^${major_version_tag}$"; then
git tag -d "${major_version_tag}"
git push --delete origin refs/tags/"${major_version_tag}"
fi
git tag "${version_tag}"
git tag "${major_version_tag}"
git checkout main
git branch -d "${version_tag}"
git branch -d "${major_version_tag}"
)
for tool in "${tools[@]}"; do