Skip to content

Commit

Permalink
.github/README: create .deb, publish it to packagecloud; increment ve…
Browse files Browse the repository at this point in the history
…rsion
  • Loading branch information
lpenz committed Jun 24, 2023
1 parent 858dfb4 commit 15628e5
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,17 @@ jobs:
uses: lpenz/ghworkflow-rust/.github/workflows/rust.yml@v0.15.0
with:
coveralls: true
deb: true
publish_cratesio: true
publish_github_release: true
publish_github_release_files: |
target/release/stdecor
publish_packagecloud: true
publish_packagecloud_repository: |
["debian/debian/bullseye",
"debian/debian/bookworm",
"ubuntu/ubuntu/kinetic",
"ubuntu/ubuntu/focal"]
secrets:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 12 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]

Check warning on line 1 in Cargo.toml

View workflow job for this annotation

GitHub Actions / rust / cargo-deb

Version mismatch: tag 0.1.0 != 0.1.1 from Cargo.toml
name = "stdecor"
description = "Run a command with a decorated stdout/stderr"
version = "0.1.0"
version = "0.1.1"
authors = ["Leandro Lisboa Penz <lpenz@lpenz.org>"]
edition = "2021"
license = "MIT"
Expand All @@ -19,3 +19,14 @@ tokio-process-stream = "0.4.0"
color-eyre = "0.6.2"
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "tracing-log"] }
[package.metadata.deb]
section = "utils"
extended-description = """\
stdecor runs a command with a decorated stdout/stderr
"""
assets = [
["target/release/stdecor", "usr/bin/", "755"],
["LICENSE", "usr/share/doc/stdecor/", "644"],
["AUTHORS", "usr/share/doc/stdecor/", "644"],
["README.md", "usr/share/doc/stdecor/", "644"],
]
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
[![coveralls](https://coveralls.io/repos/github/lpenz/stdecor/badge.svg?branch=main)](https://coveralls.io/github/lpenz/stdecor?branch=main)
[![dependency status](https://deps.rs/repo/github/lpenz/stdecor/status.svg)](https://deps.rs/repo/github/lpenz/stdecor)
[![crates.io](https://img.shields.io/crates/v/stdecor)](https://crates.io/crates/stdecor)
[![packagecloud](https://img.shields.io/badge/deb-packagecloud.io-844fec.svg)](https://packagecloud.io/app/lpenz/debian/search?q=stdecor)

# stdecor

Expand Down

0 comments on commit 15628e5

Please sign in to comment.