diff --git a/README.md b/README.md index 27877be..e991df5 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,13 @@ Full helptext can be displayed with: steamguard --help ``` +## One Liners + +Generate and copy a new code to clipboard: +```bash +steamguard-cli | xclip -selection clipboard +``` + ## Importing 2FA Secret Into Other Applications It's possible to import your 2FA secret into other applications, like Google Authenticator or KeeWeb. The `uri` field contains a URI in that starts with `otpauth://...`, which you can create a QR code for. diff --git a/scripts/full-release.sh b/scripts/full-release.sh index c525e7e..17b72ce 100755 --- a/scripts/full-release.sh +++ b/scripts/full-release.sh @@ -3,6 +3,7 @@ set -e DRY_RUN=true +SKIP_CRATE_PUBLISH=false POSITIONAL=() while [[ $# -gt 0 ]]; do @@ -18,6 +19,10 @@ while [[ $# -gt 0 ]]; do shift # past argument shift # past value ;; + --skip-publish) + SKIP_CRATE_PUBLISH=true + shift # past argument + ;; *) # unknown option POSITIONAL+=("$1") # save it in an array for later shift # past argument @@ -48,6 +53,9 @@ fi if [[ $BUMP != "" ]]; then params+=(--bump "$BUMP") fi +if [[ $SKIP_CRATE_PUBLISH == true ]]; then + params+=(--skip-publish) +fi cargo smart-release "${params[@]}" ./scripts/package-deb.sh