build: pubilsh to crates.io
All checks were successful
Test / build (map[name:stable]) (push) Successful in 5m19s
Test / build (map[name:nightly]) (push) Successful in 4m22s
Release Please / Release-plz (push) Successful in 1m16s

Now that there is a viable CLI way to run the program, let's make it available to be installed easily.
This commit is contained in:
Paul Campbell 2025-01-05 08:52:53 +00:00
parent b50f73b7b7
commit 21504462c8
2 changed files with 39 additions and 1 deletions

View file

@ -0,0 +1,35 @@
name: Release Please
permissions:
pull-requests: write
contents: write
on:
push:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
release-plz:
name: Release-plz
runs-on: docker
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run release-plz release-pr
uses: https://git.kemitix.net/kemitix/rust@v2.5.0
with:
args: release-plz release-pr --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Run release-plz release
uses: https://git.kemitix.net/kemitix/rust@v2.5.0
with:
args: release-plz release --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

View file

@ -2,7 +2,10 @@
name = "forgejo-todo-checker"
version = "1.2.0"
edition = "2021"
publish = false # NOTE: Not a CLI tool or a library, so don't release to crates.io
authors = ["Paul Campbell <pcampbell@kemitix.net>"]
description = "Checks your source files for TODO and FIXME comments, where they don't have an open issue number."
license = "MIT"
repository = "https://git.kemitix.net/kemitix/trello-to-deck"
[dependencies]
bon = "3.0"