Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
fix: use correct cli cmds
Browse files Browse the repository at this point in the history
  • Loading branch information
gakonst committed Mar 21, 2023
1 parent 7b77795 commit beefd2b
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions bin/release
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ for ex in examples/*; do
fi
done

WORKSPACE_FLAGS+=(--tag-name v$VERSION)

# shellcheck disable=SC2206
COMMON_FLAGS=($VERBOSE $EXECUTE)

Expand All @@ -118,14 +120,4 @@ cargo release "${WORKSPACE_FLAGS[@]}" "${COMMON_FLAGS[@]}" "$VERSION"
info "creating changelog"
exec_or_print git cliff -t "$VERSION" -o CHANGELOG.md

info "creating git commit"
exec_or_print cargo release commit "${COMMON_FLAGS[@]}" $SIGN_COMMIT

info "publishing crates"
exec_or_print cargo release publish "${COMMON_FLAGS[@]}" "${WORKSPACE_FLAGS[@]}"

info "tagging commits"
cargo release tag "${COMMON_FLAGS[@]}" "${WORKSPACE_FLAGS[@]}" $SIGN_TAG

info "pushing commits and tags to remote"
cargo release push "${COMMON_FLAGS[@]}" "${WORKSPACE_FLAGS[@]}"
exec_or_print git push --tags

0 comments on commit beefd2b

Please sign in to comment.