0
0
mirror of https://github.com/TeFiLeDo/tree-owners.git synced 2024-11-24 13:16:17 +01:00

initial release

This commit is contained in:
Adrian Wannenmacher 2023-09-24 07:38:07 +02:00
parent 57c60f2074
commit 5631784043
Signed by: tfld
GPG Key ID: 19D986ECB1E492D5
2 changed files with 16 additions and 4 deletions

View File

@ -38,17 +38,30 @@ on:
tags: tags:
- "v*" - "v*"
env:
CARGO_TERM_COLOR: always
jobs: jobs:
release: release:
runs-on: "ubuntu-latest" runs-on: "ubuntu-latest"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Check versions
run: |
CARGO_VER=$(cargo pkgid | sed "s/^.*#/v/")
TAG_VER=${{ github.ref_name }}
if [[ "$CARGO_VER" != "$TAG_VER" ]]; then exit 1; fi
- name: Build - name: Build
run: cargo build --release --verbose run: cargo build --release --verbose
- name: Run tests - name: Run tests
run: cargo test --release --verbose run: cargo test --release --verbose
- uses: "marvinpinto/action-automatic-releases@latest" - name: Publish to crates.io
run: cargo publish
env:
CARGO_REGISTRY_TOKEN: "${{ secrets.CRATES_IO_TOKEN }}"
- name: Publish to GitHub
uses: "marvinpinto/action-automatic-releases@latest"
with: with:
repo_token: "${{ secrets.GITHUB_TOKEN }}" repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false prerelease: false

View File

@ -5,12 +5,11 @@ edition = "2021"
authors = ["Adrian Wannenmacher <tfld@tfld.dev>"] authors = ["Adrian Wannenmacher <tfld@tfld.dev>"]
license = "EUPL-1.2" license = "EUPL-1.2"
repository = "https://github.com/TeFiLeDo/tree-owners"
description = "Find all owners (user and group) inside a directory tree." description = "Find all owners (user and group) inside a directory tree."
categories = ["command-line-utilities", "filesystem"] categories = ["command-line-utilities", "filesystem"]
keywords = ["cli", "linux", "file", ] keywords = ["cli", "linux", "file"]
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html