Skip to content

Commit d4d84e4

Browse files
committed
release: 0.2.24
1 parent 83ddd2f commit d4d84e4

File tree

14 files changed

+40
-28
lines changed

14 files changed

+40
-28
lines changed

.github/workflows/main.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,23 @@ jobs:
180180
TARGET_BINARY=./target/release/${{ matrix.target }}-${{steps.target-triple.outputs.target_triple}}
181181
mv ./target/release/${{ matrix.target }} ${TARGET_BINARY}
182182
echo ::set-output name=target_binary::$TARGET_BINARY
183-
- uses: meeDamian/github-release@2.0
184-
with:
185-
allow_override: true
183+
- name: previous tag
184+
id: previous-tag
185+
run: |
186+
PREVIOUS_TAG=$(git tag --list --sort=-version:refname "${{ matrix.target }}-v*" | head -n 1)
187+
echo ::set-output name=previous_tag::$PREVIOUS_TAG
188+
- name: Changelog
189+
uses: scottbrenner/generate-changelog-action@master
190+
id: Changelog
191+
with:
192+
from-tag: ${{ steps.previous-tag.outputs.previous_tag }}
193+
to-tag: HEAD
194+
- uses: ncipollo/release-action@v1
195+
with:
196+
artifacts: ${{steps.target-binary.outputs.target_binary}}
197+
body: |
198+
${{ steps.Changelog.outputs.changelog }}
186199
token: ${{ secrets.GITHUB_TOKEN }}
200+
allowUpdates: true
187201
tag: ${{ matrix.target }}-v${{steps.target-version.outputs.target_version}}
188202
name: ${{ matrix.target }} ${{steps.target-version.outputs.target_version}}
189-
files: >
190-
${{steps.target-binary.outputs.target_binary}}

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clang-tidy-sarif/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "clang-tidy-sarif"
3-
version = "0.2.23"
3+
version = "0.2.24"
44
authors = ["Paul Sastrasinh <psastras@gmail.com>"]
55
edition = "2018"
66
description = "Convert clang-tidy output to SARIF"
@@ -21,7 +21,7 @@ path = "src/bin.rs"
2121

2222
[dependencies]
2323
anyhow = "1.0.52"
24-
serde-sarif = { path = "../serde-sarif", version = "0.2.23", features = ["clang-tidy-converters"] }
24+
serde-sarif = { path = "../serde-sarif", version = "0.2.24", features = ["clang-tidy-converters"] }
2525
clap = "3.0.8"
2626

2727
[dev-dependencies]

clang-tidy-sarif/src/bin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![doc(html_root_url = "https://docs.rs/clang-tidy-sarif/0.2.23")]
1+
#![doc(html_root_url = "https://docs.rs/clang-tidy-sarif/0.2.24")]
22

33
//! This crate provides a command line tool to convert `clang-tidy` diagnostic
44
//! output into SARIF.

clippy-sarif/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "clippy-sarif"
3-
version = "0.2.23"
3+
version = "0.2.24"
44
authors = ["Paul Sastrasinh <psastras@gmail.com>"]
55
edition = "2018"
66
description = "Convert clippy output to SARIF"
@@ -21,7 +21,7 @@ path = "src/bin.rs"
2121

2222
[dependencies]
2323
anyhow = "1.0.52"
24-
serde-sarif = { path = "../serde-sarif", version = "0.2.23", features = ["clippy-converters"] }
24+
serde-sarif = { path = "../serde-sarif", version = "0.2.24", features = ["clippy-converters"] }
2525
clap = "3.0.8"
2626

2727
[dev-dependencies]

clippy-sarif/src/bin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![doc(html_root_url = "https://docs.rs/clippy-sarif/0.2.23")]
1+
#![doc(html_root_url = "https://docs.rs/clippy-sarif/0.2.24")]
22

33
//! This crate provides a command line tool to convert `cargo clippy` diagnostic
44
//! output into SARIF.

hadolint-sarif/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hadolint-sarif"
3-
version = "0.2.23"
3+
version = "0.2.24"
44
authors = ["Paul Sastrasinh <psastras@gmail.com>"]
55
edition = "2018"
66
description = "Convert hadolint output to SARIF"
@@ -21,7 +21,7 @@ path = "src/bin.rs"
2121

2222
[dependencies]
2323
anyhow = "1.0.52"
24-
serde-sarif = { path = "../serde-sarif", version = "0.2.23", features = ["hadolint-converters"] }
24+
serde-sarif = { path = "../serde-sarif", version = "0.2.24", features = ["hadolint-converters"] }
2525
clap = "3.0.8"
2626

2727
[dev-dependencies]

hadolint-sarif/src/bin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![doc(html_root_url = "https://docs.rs/hadolint-sarif/0.2.23")]
1+
#![doc(html_root_url = "https://docs.rs/hadolint-sarif/0.2.24")]
22

33
//! This crate provides a command line tool to convert `hadolint` diagnostic
44
//! output into SARIF.

sarif-fmt/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sarif-fmt"
3-
version = "0.2.23"
3+
version = "0.2.24"
44
authors = ["Paul Sastrasinh <psastras@gmail.com>"]
55
edition = "2018"
66
description = "View (pretty print) SARIF files in terminal"
@@ -23,7 +23,7 @@ path = "src/bin.rs"
2323
anyhow = "1.0.52"
2424
codespan-reporting = "0.11.1"
2525
serde_json = "1.0.75"
26-
serde-sarif = { path = "../serde-sarif", version = "0.2.23" }
26+
serde-sarif = { path = "../serde-sarif", version = "0.2.24" }
2727
clap = "3.0.8"
2828

2929
[dev-dependencies]

sarif-fmt/src/bin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![doc(html_root_url = "https://docs.rs/sarif-fmt/0.2.23")]
1+
#![doc(html_root_url = "https://docs.rs/sarif-fmt/0.2.24")]
22
#![recursion_limit = "256"]
33
//! # WARNING: VERY UNSTABLE (EARLY IMPLEMENTATION)
44
//!

0 commit comments

Comments
 (0)