ci: 🔄 add pre-release tasks

This commit is contained in:
Lucas Colombo 2024-05-26 04:03:00 -03:00
parent 2f28d4bad3
commit 6eb6844cd9
Signed by: lucas
GPG Key ID: EF34786CFEFFAE35

View File

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