Skip to content

Commit

Permalink
Improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoHood committed Apr 15, 2018
1 parent 4a141df commit 0a2e464
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,13 @@ Git tags need to be created from the command line and always need a switch to en

```bash
# Creates a signed tag
git tag -s mytag
git tag -s 1.0.0

# Re-tag an older, unsigned tag
git tag -sf mytag mytag
git tag -sf 1.0.0 1.0.0

# Verifies the signed tag
git tag -v mytag
git tag -v 1.0.0
```

## 4. Create a signed release archive
Expand All @@ -253,12 +253,6 @@ git archive --format=tar.gz -o gpgit-1.0.0.tar.gz --prefix gpgit-1.0.0/ 1.0.0

# .tar.xz
git archive --format=tar --prefix gpgit-1.0.0/ 1.0.0 | xz > gpgit-1.0.0.tar.xz

# .tar.lz
git archive --format=tar --prefix gpgit-1.0.0/ 1.0.0 | lzip --best > gpgit-1.0.0.tar.xz

# Verify an existing archive
git archive --format=tar --prefix gpgit-1.0.0/ 1.0.0 | cmp <(xz -dc gpgit-1.0.0.tar.xz)
```

### 4.2 Sign the archive
Expand Down

0 comments on commit 0a2e464

Please sign in to comment.