Skip to content

Commit

Permalink
#1 rultor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Sep 4, 2022
1 parent 4471437 commit 3619635
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .rultor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ install: |
pdd --file=/dev/null
merge:
script: |
cargo test --color=never
cargo fmt --check --color=never
cargo --color=never test
cargo --color=never fmt --check
release:
script: |-
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1
sed -i -e "s/^version = \"0.0.0\"/version = \"${tag}\"/" Cargo.toml
cargo test --color=never
cargo fmt --check --color=never
cargo --color=never test
cargo --color=never fmt --check
git commit -am "${tag}"
mkdir -p ~/.cargo && cp ../credentials ~/.cargo
cargo publish --color=never
cargo --color=never publish

0 comments on commit 3619635

Please sign in to comment.