Skip to content

Commit

Permalink
chore(project): update the release script about arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Jun 16, 2021
1 parent d76bb9b commit 098c6ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/env bash

if [ -n "$1" ]; then
cargo run > CHANGELOG.md
cargo run -- --tag "$1" > CHANGELOG.md
git add -A && git commit -m "chore(release): prepare for $1"
git -c user.name="git-cliff" \
-c user.email="[email protected]" \
-c user.signingkey="1D2D410A741137EBC544826F4A92FA17B6619297" \
tag -s -a "$1" -m "$(cargo run -- -u -s all)"
tag -s -a "$1" -m "$(cargo run -- --unreleased --strip all)"
fi

0 comments on commit 098c6ad

Please sign in to comment.