mirror of
https://github.com/taiki-e/install-action.git
synced 2026-05-04 12:10:29 +00:00
Compare commits
18 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c2d1a0109d | ||
|
|
faecae2c4d | ||
|
|
c9f17ee0e8 | ||
|
|
128d64bf89 | ||
|
|
cc153c439a | ||
|
|
68092bc267 | ||
|
|
04e2194ad0 | ||
|
|
9d4e8b470d | ||
|
|
7ac23e803d | ||
|
|
1a26a6ebba | ||
|
|
74b1a6bda9 | ||
|
|
3e62d0866a | ||
|
|
d6786821c2 | ||
|
|
89155eb702 | ||
|
|
bb135877f4 | ||
|
|
97a43ec52d | ||
|
|
f0cf8b84ad | ||
|
|
330a7255ba |
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
|||||||
tool:
|
tool:
|
||||||
# Note: Specifying the version of valgrind and wasm-pack is not supported.
|
# Note: Specifying the version of valgrind and wasm-pack is not supported.
|
||||||
- cargo-hack,cargo-llvm-cov,cargo-minimal-versions,parse-changelog,cross,nextest,shellcheck,shfmt,valgrind,wasm-pack,wasmtime,mdbook
|
- cargo-hack,cargo-llvm-cov,cargo-minimal-versions,parse-changelog,cross,nextest,shellcheck,shfmt,valgrind,wasm-pack,wasmtime,mdbook
|
||||||
- cargo-hack@0.5.12,cargo-llvm-cov@0.3.0,cargo-minimal-versions@0.1.3,parse-changelog@0.4.7,cross@0.2.1,nextest@0.9.11,shellcheck@0.8.0,shfmt@3.4.3,wasmtime@0.35.3,mdbook@0.4.18
|
- cargo-hack@0.5.13,cargo-llvm-cov@0.4.3,cargo-minimal-versions@0.1.3,parse-changelog@0.4.7,cross@0.2.1,nextest@0.9.11,shellcheck@0.8.0,shfmt@3.5.0,wasmtime@0.37.0,mdbook@0.4.18
|
||||||
# Nextest supports basic version ranges as well
|
# Nextest supports basic version ranges as well
|
||||||
- nextest@0.9
|
- nextest@0.9
|
||||||
include:
|
include:
|
||||||
|
|||||||
48
CHANGELOG.md
48
CHANGELOG.md
@@ -10,6 +10,43 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [1.3.11] - 2022-05-29
|
||||||
|
|
||||||
|
- Update `cargo-llvm-cov@latest` to 0.4.3.
|
||||||
|
|
||||||
|
## [1.3.10] - 2022-05-24
|
||||||
|
|
||||||
|
- Update `cargo-llvm-cov@latest` to 0.4.1.
|
||||||
|
|
||||||
|
## [1.3.9] - 2022-05-21
|
||||||
|
|
||||||
|
- Update `wasmtime@latest` to 0.37.0.
|
||||||
|
|
||||||
|
## [1.3.8] - 2022-05-12
|
||||||
|
|
||||||
|
- Update `shfmt@latest` to 3.5.0.
|
||||||
|
|
||||||
|
## [1.3.7] - 2022-05-12
|
||||||
|
|
||||||
|
- Update `cargo-hack@latest` to 0.5.13.
|
||||||
|
- Update `cargo-llvm-cov@latest` to 0.4.0.
|
||||||
|
|
||||||
|
## [1.3.6] - 2022-05-06
|
||||||
|
|
||||||
|
- Update `cargo-llvm-cov@latest` to 0.3.3.
|
||||||
|
|
||||||
|
## [1.3.5] - 2022-05-05
|
||||||
|
|
||||||
|
- Update `cargo-llvm-cov@latest` to 0.3.2.
|
||||||
|
|
||||||
|
## [1.3.4] - 2022-05-01
|
||||||
|
|
||||||
|
- Update `cargo-llvm-cov@latest` to 0.3.1.
|
||||||
|
|
||||||
|
## [1.3.3] - 2022-04-21
|
||||||
|
|
||||||
|
- Update `wasmtime@latest` to 0.36.0.
|
||||||
|
|
||||||
## [1.3.2] - 2022-04-16
|
## [1.3.2] - 2022-04-16
|
||||||
|
|
||||||
- Update `mdbook@latest` to 0.4.18.
|
- Update `mdbook@latest` to 0.4.18.
|
||||||
@@ -95,7 +132,16 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
|
|||||||
|
|
||||||
Initial release
|
Initial release
|
||||||
|
|
||||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v1.3.2...HEAD
|
[Unreleased]: https://github.com/taiki-e/install-action/compare/v1.3.11...HEAD
|
||||||
|
[1.3.11]: https://github.com/taiki-e/install-action/compare/v1.3.10...v1.3.11
|
||||||
|
[1.3.10]: https://github.com/taiki-e/install-action/compare/v1.3.9...v1.3.10
|
||||||
|
[1.3.9]: https://github.com/taiki-e/install-action/compare/v1.3.8...v1.3.9
|
||||||
|
[1.3.8]: https://github.com/taiki-e/install-action/compare/v1.3.7...v1.3.8
|
||||||
|
[1.3.7]: https://github.com/taiki-e/install-action/compare/v1.3.6...v1.3.7
|
||||||
|
[1.3.6]: https://github.com/taiki-e/install-action/compare/v1.3.5...v1.3.6
|
||||||
|
[1.3.5]: https://github.com/taiki-e/install-action/compare/v1.3.4...v1.3.5
|
||||||
|
[1.3.4]: https://github.com/taiki-e/install-action/compare/v1.3.3...v1.3.4
|
||||||
|
[1.3.3]: https://github.com/taiki-e/install-action/compare/v1.3.2...v1.3.3
|
||||||
[1.3.2]: https://github.com/taiki-e/install-action/compare/v1.3.1...v1.3.2
|
[1.3.2]: https://github.com/taiki-e/install-action/compare/v1.3.1...v1.3.2
|
||||||
[1.3.1]: https://github.com/taiki-e/install-action/compare/v1.3.0...v1.3.1
|
[1.3.1]: https://github.com/taiki-e/install-action/compare/v1.3.0...v1.3.1
|
||||||
[1.3.0]: https://github.com/taiki-e/install-action/compare/v1.2.2...v1.3.0
|
[1.3.0]: https://github.com/taiki-e/install-action/compare/v1.2.2...v1.3.0
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ https://spdx.org/licenses
|
|||||||
| [**valgrind**](https://valgrind.org) | `/snap/bin` | [snap](https://snapcraft.io/install/valgrind/ubuntu) | Linux | [GPL-2.0-or-later](https://valgrind.org/docs/manual/license.gpl.html) |
|
| [**valgrind**](https://valgrind.org) | `/snap/bin` | [snap](https://snapcraft.io/install/valgrind/ubuntu) | Linux | [GPL-2.0-or-later](https://valgrind.org/docs/manual/license.gpl.html) |
|
||||||
| [**wasm-pack**](https://github.com/rustwasm/wasm-pack) | `~/.cargo/bin` | [GitHub Releases](https://github.com/rustwasm/wasm-pack/releases) | Linux, macOS | [Apache-2.0](https://github.com/rustwasm/wasm-pack/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/rustwasm/wasm-pack/blob/HEAD/LICENSE-MIT) |
|
| [**wasm-pack**](https://github.com/rustwasm/wasm-pack) | `~/.cargo/bin` | [GitHub Releases](https://github.com/rustwasm/wasm-pack/releases) | Linux, macOS | [Apache-2.0](https://github.com/rustwasm/wasm-pack/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/rustwasm/wasm-pack/blob/HEAD/LICENSE-MIT) |
|
||||||
| [**wasmtime**](https://github.com/bytecodealliance/wasmtime) | `~/.cargo/bin` | [GitHub Releases](https://github.com/bytecodealliance/wasmtime/releases) | Linux, macOS | [Apache-2.0 WITH LLVM-exception](https://github.com/bytecodealliance/wasmtime/blob/HEAD/LICENSE) |
|
| [**wasmtime**](https://github.com/bytecodealliance/wasmtime) | `~/.cargo/bin` | [GitHub Releases](https://github.com/bytecodealliance/wasmtime/releases) | Linux, macOS | [Apache-2.0 WITH LLVM-exception](https://github.com/bytecodealliance/wasmtime/blob/HEAD/LICENSE) |
|
||||||
| [**mdbook**](https://github.com/rust-lang/mdBook) | `~/.cargo/bin` | [GitHub Releases](https://github.com/rust-lang/mdBook/releases) | Linux, macOS | [MPL-2.0](https://github.com/rust-lang/mdBook/blob/master/LICENSE) |
|
| [**mdbook**](https://github.com/rust-lang/mdBook) | `~/.cargo/bin` | [GitHub Releases](https://github.com/rust-lang/mdBook/releases) | Linux, macOS | [MPL-2.0](https://github.com/rust-lang/mdBook/blob/HEAD/LICENSE) |
|
||||||
|
|
||||||
<!-- TODO:
|
<!-- TODO:
|
||||||
| [**cmake**](https://cmake.org) | | [GitHub Releases](https://github.com/Kitware/CMake/releases) | Linux, macOS, Windows | [BSD-3-Clause](https://github.com/Kitware/CMake/blob/HEAD/Copyright.txt) |
|
| [**cmake**](https://cmake.org) | | [GitHub Releases](https://github.com/Kitware/CMake/releases) | Linux, macOS, Windows | [BSD-3-Clause](https://github.com/Kitware/CMake/blob/HEAD/Copyright.txt) |
|
||||||
|
|||||||
8
main.sh
8
main.sh
@@ -57,9 +57,9 @@ for tool in "${tools[@]}"; do
|
|||||||
cargo-hack | cargo-llvm-cov | cargo-minimal-versions | parse-changelog)
|
cargo-hack | cargo-llvm-cov | cargo-minimal-versions | parse-changelog)
|
||||||
case "${tool}" in
|
case "${tool}" in
|
||||||
# https://github.com/taiki-e/cargo-hack/releases
|
# https://github.com/taiki-e/cargo-hack/releases
|
||||||
cargo-hack) latest_version="0.5.12" ;;
|
cargo-hack) latest_version="0.5.13" ;;
|
||||||
# https://github.com/taiki-e/cargo-llvm-cov/releases
|
# https://github.com/taiki-e/cargo-llvm-cov/releases
|
||||||
cargo-llvm-cov) latest_version="0.3.0" ;;
|
cargo-llvm-cov) latest_version="0.4.3" ;;
|
||||||
# https://github.com/taiki-e/cargo-minimal-versions/releases
|
# https://github.com/taiki-e/cargo-minimal-versions/releases
|
||||||
cargo-minimal-versions) latest_version="0.1.3" ;;
|
cargo-minimal-versions) latest_version="0.1.3" ;;
|
||||||
# https://github.com/taiki-e/parse-changelog/releases
|
# https://github.com/taiki-e/parse-changelog/releases
|
||||||
@@ -135,7 +135,7 @@ for tool in "${tools[@]}"; do
|
|||||||
;;
|
;;
|
||||||
shfmt)
|
shfmt)
|
||||||
# https://github.com/mvdan/sh/releases
|
# https://github.com/mvdan/sh/releases
|
||||||
latest_version="3.4.3"
|
latest_version="3.5.0"
|
||||||
repo="mvdan/sh"
|
repo="mvdan/sh"
|
||||||
case "${OSTYPE}" in
|
case "${OSTYPE}" in
|
||||||
linux*) target="linux_amd64" ;;
|
linux*) target="linux_amd64" ;;
|
||||||
@@ -178,7 +178,7 @@ for tool in "${tools[@]}"; do
|
|||||||
;;
|
;;
|
||||||
wasmtime)
|
wasmtime)
|
||||||
# https://github.com/bytecodealliance/wasmtime/releases
|
# https://github.com/bytecodealliance/wasmtime/releases
|
||||||
latest_version="0.35.3"
|
latest_version="0.37.0"
|
||||||
repo="bytecodealliance/wasmtime"
|
repo="bytecodealliance/wasmtime"
|
||||||
case "${OSTYPE}" in
|
case "${OSTYPE}" in
|
||||||
linux*) target="x86_64-linux" ;;
|
linux*) target="x86_64-linux" ;;
|
||||||
|
|||||||
@@ -35,6 +35,10 @@ if gh release view "${tag}" &>/dev/null; then
|
|||||||
bail "tag '${tag}' has already been created and pushed"
|
bail "tag '${tag}' has already been created and pushed"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! git branch | grep -q '\* main'; then
|
||||||
|
bail "current branch is not 'main'"
|
||||||
|
fi
|
||||||
|
|
||||||
tags=$(git --no-pager tag)
|
tags=$(git --no-pager tag)
|
||||||
if [[ -n "${tags}" ]]; then
|
if [[ -n "${tags}" ]]; then
|
||||||
# Make sure the same release does not exist in CHANGELOG.md.
|
# Make sure the same release does not exist in CHANGELOG.md.
|
||||||
@@ -66,10 +70,6 @@ echo "============== CHANGELOG =============="
|
|||||||
parse-changelog CHANGELOG.md "${version}"
|
parse-changelog CHANGELOG.md "${version}"
|
||||||
echo "======================================="
|
echo "======================================="
|
||||||
|
|
||||||
if ! git branch | grep -q '\* main'; then
|
|
||||||
bail "current branch is not 'main'"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -n "${tags}" ]]; then
|
if [[ -n "${tags}" ]]; then
|
||||||
# Create a release commit.
|
# Create a release commit.
|
||||||
git add CHANGELOG.md
|
git add CHANGELOG.md
|
||||||
|
|||||||
Reference in New Issue
Block a user