Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 563 Bytes

RELEASE.md

File metadata and controls

29 lines (23 loc) · 563 Bytes

How to release new version

Prepare git tag

git tag -asm "<release message>" cmd/<tool>/v<version>
git push --tags

Example

git tag -asm "Cloud features" cmd/harp/v0.1.0
git push --tags

Prepare artifacts

# Prepare docker image with all tools and go toolchain
mage docker:tools
# Create the docker image with all artifacts
RELEASE=v0.1.0 mage releaser:harp
# Extract artifact from image
docker run -ti --rm --volume $(pwd)/bin:/dist elastic/harp:artifacts-v0.1.0
$ cp * ../dist
# Pack release binaries
RELEASE=v0.1.0 task