fix full release script so that version bumps are actually respected
This commit is contained in:
parent
17a4ebe813
commit
e6f75fa5aa
1 changed files with 3 additions and 3 deletions
|
@ -39,15 +39,13 @@ This will do everything needed to release a new version:
|
|||
- upload artifacts to a new release on github
|
||||
"""
|
||||
if [ "$DRY_RUN" = true ]; then
|
||||
echo "This is a dry run, nothing will be done. Artifacts will be built, but not published."
|
||||
echo "This is a dry run, nothing will be done. Artifacts will be built, but not published. Use --execute to do it for real."
|
||||
else
|
||||
echo "This is not a dry run. This is the real deal!"
|
||||
fi
|
||||
echo "Press any key to continue..."
|
||||
read -n 1 -s -r
|
||||
|
||||
cargo build --release
|
||||
|
||||
params=()
|
||||
if [[ $DRY_RUN == false ]]; then
|
||||
params+=(--execute)
|
||||
|
@ -60,6 +58,8 @@ if [[ $SKIP_CRATE_PUBLISH == true ]]; then
|
|||
fi
|
||||
cargo smart-release --update-crates-index "${params[@]}"
|
||||
|
||||
cargo build --release
|
||||
|
||||
./scripts/package-deb.sh
|
||||
|
||||
BIN_PATH="target/release/steamguard-cli"
|
||||
|
|
Loading…
Reference in a new issue