ci: 🔄 add pre-release tasks
This commit is contained in:
parent
2f28d4bad3
commit
6eb6844cd9
@ -34,11 +34,21 @@ tasks:
|
|||||||
cmds:
|
cmds:
|
||||||
- cargo +nightly fmt --all
|
- cargo +nightly fmt --all
|
||||||
|
|
||||||
|
fmt:check:
|
||||||
|
desc: 🎨 check format
|
||||||
|
cmds:
|
||||||
|
- cargo +nightly fmt --all --check
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
desc: 🧶 lint lool
|
desc: 🧶 lint lool
|
||||||
cmds:
|
cmds:
|
||||||
- cargo clippy --fix --all-features --allow-staged
|
- cargo clippy --fix --all-features --allow-staged
|
||||||
|
|
||||||
|
lint:check:
|
||||||
|
desc: 🧶 check linting
|
||||||
|
cmds:
|
||||||
|
- cargo clippy --all-features --allow-staged
|
||||||
|
|
||||||
test:
|
test:
|
||||||
desc: 🧪 test lool
|
desc: 🧪 test lool
|
||||||
cmds:
|
cmds:
|
||||||
@ -65,6 +75,12 @@ tasks:
|
|||||||
cmds:
|
cmds:
|
||||||
- cargo release major --execute --no-confirm
|
- cargo release major --execute --no-confirm
|
||||||
|
|
||||||
|
release:pre:
|
||||||
|
desc: 🚀 prerelease rustler-core
|
||||||
|
deps:
|
||||||
|
- fmt:check
|
||||||
|
- lint:check
|
||||||
|
|
||||||
release:
|
release:
|
||||||
aliases:
|
aliases:
|
||||||
- "publish"
|
- "publish"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user