tagcommand creates a signed push token that references an existing tag. The push token will be pushed along with the annotated tag reference.
A MakeOS server relies on push tokens to perform authorization and authentication checks before processing the pushed reference.
kit sign tag [options] [-- [git options]]
kit sign tag <name> [flags]
-h, --help help for tag
name- The name of the tag.
-h, --help- Prints out a help message.
-f, --fee- The number of coins to pay as the network transaction fee.
-n, --nonce- The next nonce of the signer's account (current nonce + 1).
-v, --value- The number of coins to transfer from the signer's account.
-u, --signing-key- The address or index of a key that will be used to sign the transaction.
-p, --signing-key-pass- The passphrase that will be used to unlock the signing key.
- Create and sign a tag named
v0.0.1with the message
# Create an annotated tag
git tag -a v0.0.1 -m "initial version"
# Sign and create a push token that references the tag
kit sign tag v0.0.1