chore: Iterate on release process

This commit is contained in:
Ed Page 2021-08-16 11:23:25 -05:00
parent c5028ded31
commit 613a0cba4b
15 changed files with 29 additions and 25 deletions

View file

@ -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

View file

@ -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

View file

@ -2,7 +2,7 @@ name: Lint Commits
on: [pull_request]
jobs:
run:
committed:
name: Lint Commits
runs-on: ubuntu-latest
steps:

View file

@ -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"

View file

@ -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)

View file

@ -12,7 +12,6 @@ edition = "2018"
publish = false
[badges]
azure-devops = { project = "crate-ci", pipeline = "typos" }
codecov = { repository = "crate-ci/typos" }
[package.metadata.release]

View file

@ -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]

View file

@ -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]

View file

@ -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]

View file

@ -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]

View file

@ -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]

View file

@ -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]

View file

@ -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]

View file

@ -12,7 +12,6 @@ edition = "2018"
publish = false
[badges]
azure-devops = { project = "crate-ci", pipeline = "typos" }
codecov = { repository = "crate-ci/typos" }
[package.metadata.release]

View file

@ -4,3 +4,4 @@ tag-message = "{{tag_name}}"
tag-name = "{{prefix}}v{{version}}"
consolidate-commits = true
consolidate-pushes = true
allow-branch = ["master"]