github.com/zntrio/harp/v2@v2.0.9/RELEASE.md (about) 1 # How to release new version 2 3 ## Prepare git tag 4 5 ```sh 6 git tag -asm "<release message>" cmd/<tool>/v<version> 7 git push --tags 8 ``` 9 10 Example 11 12 ```sh 13 git tag -asm "Cloud features" cmd/harp/v0.1.0 14 git push --tags 15 ``` 16 17 ## Prepare artifacts 18 19 ```sh 20 # Prepare docker image with all tools and go toolchain 21 mage docker:tools 22 # Create the docker image with all artifacts 23 RELEASE=v0.1.0 mage releaser:harp 24 # Extract artifact from image 25 docker run -ti --rm --volume $(pwd)/bin:/dist elastic/harp:artifacts-v0.1.0 26 $ cp * ../dist 27 # Pack release binaries 28 RELEASE=v0.1.0 task 29 ```