Skip to content

Commit 0613c38

Browse files
committed
chore(README.md): add note regarding multiple tags
1 parent 2976879 commit 0613c38

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,21 @@ To run these integration tests locally:
8787
> For example, `CODER_IMAGE=example.com/repo/coder CODER_VERSION=foobar make test-integration`.
8888
8989
### How to create a new release
90+
9091
> [!Warning]
91-
> Before creating a new release, make sure you have pulled the latest commit from the main branch i.e. `git pull origin main`
92+
>
93+
> - Before creating a new release, make sure you have pulled the latest commit from the main branch i.e. `git pull origin main`
94+
> - If you have already published a previous tag, make sure you do not tag the same commit with the new tag.
95+
> See: [goreleaser-action/512](https://github.com/goreleaser/goreleaser-action/issues/512)
9296
9397
1. Create a new tag with a version number (following semantic versioning):
98+
9499
```console
95100
git tag -a v2.1.2 -m "v2.1.2"
96101
```
97102

98103
2. Push the tag to the remote repository:
104+
99105
```console
100106
git push origin tag v2.1.2
101107
```

0 commit comments

Comments
 (0)