Skip to content

Commit

Permalink
chore: release 0.0.1
Browse files Browse the repository at this point in the history
Release-As: 0.0.1
  • Loading branch information
MuZhou233 committed Dec 17, 2022
1 parent cf104be commit f649182
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 31 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on:
release:
types: [created]

jobs:
release:
name: release ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- target: x86_64-pc-windows-gnu
archive: zip
- target: x86_64-unknown-linux-musl
archive: tar.gz
- target: x86_64-apple-darwin
archive: zip
steps:
- uses: actions/checkout@master
- name: Compile and release
uses: rust-build/rust-build.action@v1.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
ARCHIVE_TYPES: ${{ matrix.archive }}
16 changes: 16 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: release-please
on:
push:
branches:
- master
- main
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
release-type: rust
package-name: sentinel
bump-minor-pre-major: true
bump-patch-for-minor-pre-major: true
3 changes: 2 additions & 1 deletion Cargo.lock

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

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sentinel"
version = "0.1.0"
version = "0.0.1"
authors = ["MuZhou233 <muzhou233@outlook.com>"]
license = "MIT"
readme = "README.md"
Expand All @@ -9,6 +9,7 @@ edition = "2021"
[dependencies]
tonic = "0.8"
tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
tokio-stream = "0.1.11"
anyhow = "1.0"
log = "0.4.14"
structopt = "0.3"
Expand Down
30 changes: 1 addition & 29 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1 @@
<h1 align="center">Sentinel</h1>

## Get Started

```sh
git submodule init
git submodule update
rustup toolchain install stable
rustup default stable
cargo build --release
target/release/sentinel --help
```

## TODO

- [x] scan folder
- mode
- [x] fixed depth
- [ ] every file
- [ ] until file
- [ ] multi root folder
- [ ] folder size calculate
- [x] report to server
- [ ] multi server
- [ ] incremental report
- [x] dry-run mode
- [x] log
- [ ] config file
- [ ] daemon mode
# Sentinel

0 comments on commit f649182

Please sign in to comment.