File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ package-rpm-$(1)-$(2) : $(DISTDIR)/$(1)-$(2)/nfpm.yaml $(DISTDIR)/changelog.yaml
42
42
--packager rpm \
43
43
--target $(DISTDIR ) /$(1 ) -$(2 ) /
44
44
45
- package-tgz-$(1 ) -$(2 ) : $(DISTDIR ) /$(1 ) -$(2 ) /sm-k6 $(DISTDIR ) /$(1 ) -$(2 ) /synthetic-monitoring-agent $(ROOTDIR ) /CHANGELOG.md $(ROOTDIR ) /README.md
45
+ package-tgz-$(1 ) -$(2 ) : $(DISTDIR ) /$(1 ) -$(2 ) /sm-k6 $(DISTDIR ) /$(1 ) -$(2 ) /synthetic-monitoring-agent $(ROOTDIR ) /CHANGELOG.md $(ROOTDIR ) /README.md $( ROOTDIR ) /LICENSE
46
46
# Create a tarball including the binaries, changelog, and readme. --transform is used to place all files at the root
47
47
# of the tarball. The built-in make variable dollar-caret is escaped with two dollars so it survives package_template.
48
- $(S ) tar --transform 's|.*/||' -zcf $(DISTDIR ) /$(1 ) -$(2 ) /synthetic-monitoring-agent.tar.gz $$^
48
+ $(S ) tar --transform 's|.*/||' -zcf $(DISTDIR ) /$(1 ) -$(2 ) /synthetic-monitoring-agent- $( firstword $( subst -, , $( BUILD_VERSION ) ) ) - $( 1 ) - $( 2 ) .tar.gz $$^
49
49
50
50
package-$(1 ) -$(2 ) : package-deb-$(1 ) -$(2 ) package-rpm-$(1 ) -$(2 ) package-tgz-$(1 ) -$(2 )
51
51
@true
You can’t perform that action at this time.
0 commit comments