Skip to content

Commit

Permalink
Document the use of make release instead of make package (elastic…
Browse files Browse the repository at this point in the history
…#8187) (elastic#8304)

The `package` Makefile target was removed and replaced by the `release` and `snapshot` targets.

(cherry picked from commit ef4d4d3)
  • Loading branch information
ycombinator authored Sep 13, 2018
1 parent 2dd671b commit 789dee0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/devguide/creating-beat-from-metricbeat.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ The first step is to get the most recent packaging tools into your beat:

[source,bash]
----
make package
make release
----

This will fetch the most recent packaging tools and start the packaging of your beat. This can take a little bit longer.
Expand Down
2 changes: 1 addition & 1 deletion generator/beat/{beat}/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ For further development, check out the [beat developer guide](https://www.elasti
The beat frameworks provides tools to crosscompile and package your beat for different platforms. This requires [docker](https://www.docker.com/) and vendoring as described above. To build packages of your beat, run the following command:

```
make package
make release
```

This will fetch and create all images required for the build process. The whole process to finish can take several minutes.
2 changes: 1 addition & 1 deletion generator/metricbeat/{beat}/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ git commit -m "Add {beat}"
The beat frameworks provides tools to crosscompile and package your beat for different platforms. This requires [docker](https://www.docker.com/) and vendoring as described above. To build packages of your beat, run the following command:

```
make package
make release
```

This will fetch and create all images required for the build process. The hole process to finish can take several minutes.
2 changes: 1 addition & 1 deletion libbeat/common/seccomp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ profiles are built based on the binaries you plan to release. The policies are
stored at `$beatname/include/seccomp_linux_$goarch.go`.

```sh
make package && make seccomp-package
make release && make seccomp-package
```

If you are developing on Linux you can profile the binary produced by `make`.
Expand Down
2 changes: 1 addition & 1 deletion libbeat/scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ BEAT_GOPATH=$(firstword $(subst :, ,${GOPATH}))
BEAT_REF_YAML?=true
ES_BEATS?=..## @community_beat Must be set to ./vendor/github.com/elastic/beats. It must always be a relative path.
GOPACKAGES?=$(shell go list ${BEAT_PATH}/... | grep -v /vendor/ | grep -v /scripts/cmd/ )
PACKER_TEMPLATES_DIR?=${ES_BEATS}/dev-tools/packer ## @Building Directory of templates that are used by "make package"
PACKER_TEMPLATES_DIR?=${ES_BEATS}/dev-tools/packer ## @Building Directory of templates that are used by "make release"
NOTICE_FILE?=../NOTICE.txt
LICENSE_FILE?=../licenses/APACHE-LICENSE-2.0.txt
ELASTIC_LICENSE_FILE?=../licenses/ELASTIC-LICENSE.txt
Expand Down

0 comments on commit 789dee0

Please sign in to comment.