mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-21 16:41:01 -05:00
chore: Iterate on release process
This commit is contained in:
parent
c5028ded31
commit
613a0cba4b
15 changed files with 29 additions and 25 deletions
6
.github/settings.yml
vendored
6
.github/settings.yml
vendored
|
@ -37,7 +37,11 @@ labels:
|
|||
branches:
|
||||
- name: master
|
||||
protection:
|
||||
# Manual: required_conversation_resolution: true, see https://github.com/probot/settings/issues/458
|
||||
required_pull_request_reviews: null
|
||||
required_conversation_resolution: true
|
||||
required_status_checks:
|
||||
# Required. Require branches to be up to date before merging.
|
||||
strict: false
|
||||
contexts: ["CI", "Lint Commits", "Spell Check with Typos"]
|
||||
enforce_admins: false
|
||||
restrictions: null
|
||||
|
|
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
@ -15,6 +15,13 @@ on:
|
|||
- '!/docs/**'
|
||||
- "!/LICENSE-*"
|
||||
jobs:
|
||||
ci:
|
||||
name: CI
|
||||
needs: [smoke, test, msrv, docs, rustfmt, clippy]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Done
|
||||
run: exit 0
|
||||
smoke:
|
||||
name: Quick Check
|
||||
runs-on: ubuntu-latest
|
||||
|
|
2
.github/workflows/committed.yml
vendored
2
.github/workflows/committed.yml
vendored
|
@ -2,7 +2,7 @@ name: Lint Commits
|
|||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
run:
|
||||
committed:
|
||||
name: Lint Commits
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
15
Cargo.toml
15
Cargo.toml
|
@ -13,20 +13,15 @@ members = [
|
|||
[package]
|
||||
name = "typos-cli"
|
||||
version = "1.1.6"
|
||||
authors = ["Ed Page <eopage@gmail.com>"]
|
||||
description = "Source Code Spelling Correction"
|
||||
authors = ["Ed Page <eopage@gmail.com>"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
repository = "https://github.com/crate-ci/typos"
|
||||
readme = "README.md"
|
||||
categories = ["development-tools", "text-processing"]
|
||||
keywords = ["development", "spelling"]
|
||||
license = "MIT"
|
||||
edition = "2018"
|
||||
|
||||
[features]
|
||||
default = ["dict", "vars"]
|
||||
dict = ["typos-dict"]
|
||||
vars = ["typos-vars"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
no-default-features = true
|
||||
|
||||
|
@ -43,6 +38,12 @@ pre-release-replacements = [
|
|||
{file="setup.py", search="TYPOS_VERSION = .*", replace="TYPOS_VERSION = '{{version}}'", exactly=1},
|
||||
]
|
||||
|
||||
[features]
|
||||
default = ["dict", "vars"]
|
||||
dict = ["typos-dict"]
|
||||
vars = ["typos-vars"]
|
||||
|
||||
|
||||
[[bin]]
|
||||
name = "typos"
|
||||
path = "src/bin/typos-cli/main.rs"
|
||||
|
|
|
@ -8,7 +8,6 @@ Finds and corrects spelling mistakes among source code:
|
|||
|
||||
![Screenshot](./docs/screenshot.png)
|
||||
|
||||
[![Build Status](https://dev.azure.com/crate-ci/crate-ci/_apis/build/status/typos?branchName=master)](https://dev.azure.com/crate-ci/crate-ci/_build/latest?definitionId=11&branchName=master)
|
||||
[![codecov](https://codecov.io/gh/crate-ci/typos/branch/master/graph/badge.svg)](https://codecov.io/gh/crate-ci/typos)
|
||||
[![Documentation](https://img.shields.io/badge/docs-master-blue.svg)][Documentation]
|
||||
![License](https://img.shields.io/crates/l/typos.svg)
|
||||
|
|
|
@ -12,7 +12,6 @@ edition = "2018"
|
|||
publish = false
|
||||
|
||||
[badges]
|
||||
azure-devops = { project = "crate-ci", pipeline = "typos" }
|
||||
codecov = { repository = "crate-ci/typos" }
|
||||
|
||||
[package.metadata.release]
|
||||
|
|
|
@ -5,7 +5,7 @@ description = "Compile-time case-insensitive map"
|
|||
repository = "https://github.com/crate-ci/typos"
|
||||
categories = ["development-tools", "text-processing"]
|
||||
keywords = ["development", "spelling", "no_std"]
|
||||
license = "MIT"
|
||||
license = "MIT OR Apache-2.0"
|
||||
edition = "2018"
|
||||
|
||||
[features]
|
||||
|
|
|
@ -7,12 +7,11 @@ repository = "https://github.com/crate-ci/typos"
|
|||
readme = "README.md"
|
||||
categories = ["development-tools", "text-processing"]
|
||||
keywords = ["development", "spelling"]
|
||||
license = "MIT"
|
||||
license = "MIT OR Apache-2.0"
|
||||
edition = "2018"
|
||||
publish = false
|
||||
|
||||
[badges]
|
||||
azure-devops = { project = "crate-ci", pipeline = "typos" }
|
||||
codecov = { repository = "crate-ci/typos" }
|
||||
|
||||
[package.metadata.release]
|
||||
|
|
|
@ -7,11 +7,10 @@ repository = "https://github.com/crate-ci/typos"
|
|||
readme = "../../README.md"
|
||||
categories = ["development-tools", "text-processing"]
|
||||
keywords = ["development", "spelling"]
|
||||
license = "MIT"
|
||||
license = "MIT OR Apache-2.0"
|
||||
edition = "2018"
|
||||
|
||||
[badges]
|
||||
azure-devops = { project = "crate-ci", pipeline = "typos" }
|
||||
codecov = { repository = "crate-ci/typos" }
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -7,11 +7,10 @@ repository = "https://github.com/crate-ci/typos"
|
|||
readme = "../../README.md"
|
||||
categories = ["development-tools", "text-processing"]
|
||||
keywords = ["development", "spelling"]
|
||||
license = "MIT"
|
||||
license = "MIT OR Apache-2.0"
|
||||
edition = "2018"
|
||||
|
||||
[badges]
|
||||
azure-devops = { project = "crate-ci", pipeline = "typos" }
|
||||
codecov = { repository = "crate-ci/typos" }
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -7,11 +7,10 @@ repository = "https://github.com/crate-ci/typos"
|
|||
readme = "../../README.md"
|
||||
categories = ["development-tools", "text-processing"]
|
||||
keywords = ["development", "spelling"]
|
||||
license = "MIT"
|
||||
license = "MIT OR Apache-2.0"
|
||||
edition = "2018"
|
||||
|
||||
[badges]
|
||||
azure-devops = { project = "crate-ci", pipeline = "typos" }
|
||||
codecov = { repository = "crate-ci/typos" }
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -6,11 +6,10 @@ description = "Varcon-relevant data structures"
|
|||
repository = "https://github.com/crate-ci/typos"
|
||||
readme = "../../README.md"
|
||||
categories = ["text-processing"]
|
||||
license = "MIT"
|
||||
license = "MIT OR Apache-2.0"
|
||||
edition = "2018"
|
||||
|
||||
[badges]
|
||||
azure-devops = { project = "crate-ci", pipeline = "typos" }
|
||||
codecov = { repository = "crate-ci/typos" }
|
||||
|
||||
[features]
|
||||
|
|
|
@ -7,11 +7,10 @@ repository = "https://github.com/crate-ci/typos"
|
|||
readme = "../../README.md"
|
||||
categories = ["development-tools", "text-processing"]
|
||||
keywords = ["development", "spelling"]
|
||||
license = "MIT"
|
||||
license = "MIT OR Apache-2.0"
|
||||
edition = "2018"
|
||||
|
||||
[badges]
|
||||
azure-devops = { project = "crate-ci", pipeline = "typos" }
|
||||
codecov = { repository = "crate-ci/typos" }
|
||||
|
||||
[features]
|
||||
|
|
|
@ -12,7 +12,6 @@ edition = "2018"
|
|||
publish = false
|
||||
|
||||
[badges]
|
||||
azure-devops = { project = "crate-ci", pipeline = "typos" }
|
||||
codecov = { repository = "crate-ci/typos" }
|
||||
|
||||
[package.metadata.release]
|
||||
|
|
|
@ -4,3 +4,4 @@ tag-message = "{{tag_name}}"
|
|||
tag-name = "{{prefix}}v{{version}}"
|
||||
consolidate-commits = true
|
||||
consolidate-pushes = true
|
||||
allow-branch = ["master"]
|
||||
|
|
Loading…
Reference in a new issue