1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Update publish script

This commit is contained in:
Maksym Pavlenko
2020-01-26 17:00:52 -08:00
parent dd8b137428
commit 9f4c926af1
2 changed files with 7 additions and 7 deletions

View File

@ -23,9 +23,14 @@ docker:
#
# Run goreleaser to build and upload release binaries
#
V =
.PHONY: release
release:
test -n "$(V)" # Version is required
- git tag --delete v$(V)
git tag v$(V)
goreleaser --rm-dist
git push origin --tags
#
# Pull GolangCI-Lint dependency

View File

@ -101,12 +101,7 @@ $ docker-compose up
## How to make a release
- Add and push version tag
Just run:
```
$ git tag -a v0.1.0 -m "First release"
$ git push origin --tags
```
- Run GoReleaser at the root of your repository:
```
$ make release
$ make release V=2.0.7
```