8000 Individual module git tags by grantseltzer · Pull Request #1034 · aquasecurity/tracee · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Individual module git tags #1034

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 7, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ BUILD_DATE = $(shell date -u +%Y-%m-%dT%H:%M:%SZ)
VCS_REF="$(shell git rev-parse --short HEAD)"
VCS_BRANCH="$(shell git rev-parse --abbrev-ref HEAD)"
BUILD_ARG_DOCKER =--build-arg VERSION=$(VERSION) --build-arg BUILD_DATE=$(BUILD_DATE) --build-arg VCS_BRANCH=$(VCS_BRANCH) --build-arg VCS_REF=$(VCS_REF)
MODULE_TAG_NAMES = tracee-ebpf/$(RELEASE_TAG) tracee-ebpf/external/$(RELEASE_TAG) tracee-rules/$(RELEASE_TAG)

CMD_DOCKER ?= docker
CMD_GIT ?= git
Expand Down Expand Up @@ -91,8 +92,8 @@ release2: $(OUT_ARCHIVE) $(OUT_CHECKSUMS)
$(foreach img,$(release_images_fat),$(call release_docker_image,$(OUT_DOCKER):latest,$(img)))
$(foreach img,$(release_images_slim),$(call release_docker_image,$(OUT_DOCKER):slim,$(img)))
echo '' >>$(release_notes)
$(CMD_GIT) tag $(RELEASE_TAG)
$(CMD_GIT) push origin $(RELEASE_TAG)
$(foreach MODULE_TAG,$(MODULE_TAG_NAMES),$(CMD_GIT) tag -f $(MODULE_TAG);)
$(foreach MODULE_TAG,$(MODULE_TAG_NAMES),$(CMD_GIT) push -u origin $(MODULE_TAG);)
$(CMD_GITHUB) release create $(RELEASE_TAG) $(OUT_ARCHIVE) $(OUT_CHECKSUMS) --title $(RELEASE_TAG) --notes-file $(release_notes)

.PHONY: mostlyclean
Expand Down
0