Skip to content

Commit bfbf86a

Browse files
committed
ci: resolve stale messaging
2 parents aeac4ed + ca02480 commit bfbf86a

File tree

9 files changed

+143
-129
lines changed

9 files changed

+143
-129
lines changed

.github/workflows/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: release
2+
on:
3+
push:
4+
tags:
5+
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
runs-on: rust-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
- run: | # Since v2.0.0 the deb package version will have a "-1" suffix. You can disable this by adding --deb-revision="" flag or revision = "" in Cargo metadata. The default suffix is for compliance with Debian's packaging standard.
15+
cargo install cargo-deb
16+
cargo deb
17+
- name: Release
18+
uses: softprops/action-gh-release@v1
19+
with:
20+
files: target/debian/*.deb # /hex/target/debian/hx_0.5.0-1_amd64.deb

.github/workflows/stale.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,19 @@ jobs:
1515
steps:
1616
- uses: actions/stale@v8
1717
with:
18-
stale-issue-message: "This issue has been marked stale due to no recent activity."
19-
stale-pr-message: "This PR has been marked stale due to no recent activity."
20-
close-issue-message: "This issue was closed due to no activity for an extended period."
21-
close-pr-message: "This PR was closed due to no activity for an extended period."
18+
stale-issue-message: "Issue marked stale due to no recent activity."
19+
stale-issue-label: "stale"
20+
exempt-issue-labels: "enhancement, help wanted, in progress, upstream"
21+
stale-pr-message: "PR marked stale due to no recent activity."
22+
stale-pr-label: "stale"
23+
exempt-pr-labels: "enhancement, help wanted, in progress, upstream"
24+
close-issue-message: "Issue closed due to lack of activity for an extended period."
25+
close-pr-message: "PR closed due to lack of activity for an extended period."
2226
days-before-issue-stale: 30
2327
days-before-pr-stale: 45
2428
days-before-issue-close: 5
2529
days-before-pr-close: 10
2630
- uses: dessant/lock-threads@v5
2731
with:
28-
exclude-any-issue-labels: "help wanted, upstream, in progress"
32+
exclude-any-issue-labels: "enhancement, help wanted, in progress, upstream"
2933
process-only: "issues"

Cargo.lock

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

Cargo.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ categories = ["command-line-utilities", "development-tools"]
44
description = "Futuristic take on hexdump, made in Rust."
55
repository = "https://github.com/sitkevij/hex"
66
keywords = ["hexdump", "hexadecimal", "tools", "ascii", "hex"]
7-
include = ["src/**/*", "Cargo.toml", "Cargo.lock", "README.md", "hx.1"]
7+
include = ["src/**/*", "Cargo.toml", "Cargo.lock", "README.md", "hx.1", "tests/**/*"]
88
license = "MIT"
99
name = "hx"
1010
readme = "README.md"
11-
version = "0.5.0"
11+
version = "0.6.0"
1212
edition = "2021"
1313

1414
# see https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -26,11 +26,10 @@ panic = 'unwind' # panic strategy (`-C panic=...`), can also be 'abort'
2626
opt-level = 3
2727

2828
[dependencies]
29-
clap = "4.4.8"
29+
clap = "4.4"
3030
ansi_term = "0.12"
31-
atty = "0.2"
3231
no_color = "0.1"
3332

3433
[dev-dependencies]
35-
assert_cmd = "2.0.12"
36-
rusty-hook = "^0.11.2"
34+
assert_cmd = "2.0"
35+
rusty-hook = "^0.11"

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,11 @@ pacman -S hex
109109

110110
### debian install
111111

112+
Browse https://github.com/sitkevij/hex/releases/latest to choose `VERSION` for use with this debian
113+
installation example:
114+
112115
```sh
113-
curl -sLO https://github.com/sitkevij/hex/releases/download/v0.4.2/hx_0.4.2_amd64.deb && dpkg -i hx_0.4.2_amd64.deb
116+
VERSION=0.6.0 && curl -sLO "https://github.com/sitkevij/hex/releases/download/v$VERSION/hx_$VERSION-1_amd64.deb" && dpkg -i "hx_$VERSION-1_amd64.deb"
114117
```
115118

116119
### guix install

0 commit comments

Comments
 (0)