Skip to content

Commit

Permalink
Fix a makefile bug causing make rpm-package to fail (open-telemetry…
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Boten committed Jul 13, 2022
1 parent 430c857 commit 314f75a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ build-examples:
.PHONY: deb-rpm-package
%-package: ARCH ?= amd64
%-package:
$(MAKE) otelcontribcol-linux_$(ARCH)
GOOS=linux GOARCH=$(ARCH) $(MAKE) otelcontribcol
docker build -t otelcontribcol-fpm internal/buildscripts/packaging/fpm
docker run --rm -v $(CURDIR):/repo -e PACKAGE=$* -e VERSION=$(VERSION) -e ARCH=$(ARCH) otelcontribcol-fpm

Expand Down
16 changes: 16 additions & 0 deletions unreleased/fix-makefile-bug.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: bug_fix

# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
component: tooling

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: "Fix a bug in the makefile causing `make rpm-package` to fail"

# One or more tracking issues related to the change
issues: [ 12162 ]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:

0 comments on commit 314f75a

Please sign in to comment.