build: pubilsh to crates.io
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:
parent
b50f73b7b7
commit
21504462c8
2 changed files with 39 additions and 1 deletions
35
.forgejo/workflows/push-main.yml
Normal file
35
.forgejo/workflows/push-main.yml
Normal 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 }}
|
|
@ -2,7 +2,10 @@
|
||||||
name = "forgejo-todo-checker"
|
name = "forgejo-todo-checker"
|
||||||
version = "1.2.0"
|
version = "1.2.0"
|
||||||
edition = "2021"
|
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]
|
[dependencies]
|
||||||
bon = "3.0"
|
bon = "3.0"
|
||||||
|
|
Loading…
Reference in a new issue