Skip to content

Commit

Permalink
readme release infos
Browse files Browse the repository at this point in the history
  • Loading branch information
nothub committed Mar 2, 2024
1 parent f74b8ff commit 000b4a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,15 +156,11 @@ goreleaser build --clean --snapshot

## Release

To build a snapshot release, run:
To build a local snapshot release, run:

```sh
goreleaser release --clean --snapshot
```

To build and publish a full release, run:

```sh
git tag v0.1.0 && git push origin v0.1.0
goreleaser release --clean --fail-fast
```
To build and publish a full release,
push a semver tag with 'v' prefix to GitHub.
10 changes: 3 additions & 7 deletions tools/readme.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,11 @@ goreleaser build --clean --snapshot

## Release

To build a snapshot release, run:
To build a local snapshot release, run:

```sh
goreleaser release --clean --snapshot
```

To build and publish a full release, run:

```sh
git tag v0.1.0 && git push origin v0.1.0
goreleaser release --clean --fail-fast
```
To build and publish a full release,
push a semver tag with 'v' prefix to GitHub.

0 comments on commit 000b4a9

Please sign in to comment.