update readme and release script
This commit is contained in:
parent
692d431fab
commit
5153bcd1dc
2 changed files with 15 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue