Skip to content

Commit

Permalink
Align files (giantswarm#205)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <action@github.com>
  • Loading branch information
architectbot and actions-user authored Mar 22, 2021
1 parent 18b5388 commit 7c9f959
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DO NOT EDIT. Generated with:
#
# devctl@4.3.0
# devctl@4.4.0
#
version: 2
updates:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/zz_generated.create_release.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DO NOT EDIT. Generated with:
#
# devctl@4.3.0
# devctl@4.4.0
#
name: Create Release
on:
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
uses: giantswarm/install-binary-action@v1.0.0
with:
binary: "architect"
version: "3.0.5"
version: "3.4.0"
- name: Install semver
uses: giantswarm/install-binary-action@v1.0.0
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/zz_generated.create_release_pr.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DO NOT EDIT. Generated with:
#
# devctl@4.3.0
# devctl@4.4.0
#
name: Create Release PR
on:
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
uses: giantswarm/install-binary-action@v1.0.0
with:
binary: "architect"
version: "3.0.5"
version: "3.4.0"
- name: Checkout code
uses: actions/checkout@v2
- name: Prepare release changes
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zz_generated.gitleaks.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DO NOT EDIT. Generated with:
#
# devctl@4.3.0
# devctl@4.4.0
#
name: gitleaks

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DO NOT EDIT. Generated with:
#
# devctl@4.3.0
# devctl@4.4.0
#

include Makefile.*.mk
Expand Down
2 changes: 1 addition & 1 deletion Makefile.gen.app.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DO NOT EDIT. Generated with:
#
# devctl@4.3.0
# devctl@4.4.0
#

.PHONY: lint-chart
Expand Down
22 changes: 20 additions & 2 deletions Makefile.gen.go.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DO NOT EDIT. Generated with:
#
# devctl@4.3.0
# devctl@4.4.0
#

APPLICATION := $(shell go list -m | cut -d '/' -f 3)
Expand All @@ -19,16 +19,22 @@ LDFLAGS ?= -w -linkmode 'auto' -extldflags '$(EXTLDFLAGS)' \

.DEFAULT_GOAL := build

.PHONY: build build-darwin build-linux
.PHONY: build build-darwin build-darwin-64 build-linux build-linux-arm64
## build: builds a local binary
build: $(APPLICATION)
@echo "====> $@"
## build-darwin: builds a local binary for darwin/amd64
build-darwin: $(APPLICATION)-darwin
@echo "====> $@"
## build-darwin-arm64: builds a local binary for darwin/arm64
build-darwin-arm64: $(APPLICATION)-darwin-arm64
@echo "====> $@"
## build-linux: builds a local binary for linux/amd64
build-linux: $(APPLICATION)-linux
@echo "====> $@"
## build-linux-arm64: builds a local binary for linux/arm64
build-linux-arm64: $(APPLICATION)-linux-arm64
@echo "====> $@"

$(APPLICATION): $(APPLICATION)-v$(VERSION)-$(OS)-amd64
@echo "====> $@"
Expand All @@ -38,14 +44,26 @@ $(APPLICATION)-darwin: $(APPLICATION)-v$(VERSION)-darwin-amd64
@echo "====> $@"
cp -a $< $@

$(APPLICATION)-darwin-arm64: $(APPLICATION)-v$(VERSION)-darwin-arm64
@echo "====> $@"
cp -a $< $@

$(APPLICATION)-linux: $(APPLICATION)-v$(VERSION)-linux-amd64
@echo "====> $@"
cp -a $< $@

$(APPLICATION)-linux-arm64: $(APPLICATION)-v$(VERSION)-linux-arm64
@echo "====> $@"
cp -a $< $@

$(APPLICATION)-v$(VERSION)-%-amd64: $(SOURCES)
@echo "====> $@"
CGO_ENABLED=0 GOOS=$* GOARCH=amd64 go build -ldflags "$(LDFLAGS)" -o $@ .

$(APPLICATION)-v$(VERSION)-%-arm64: $(SOURCES)
@echo "====> $@"
CGO_ENABLED=0 GOOS=$* GOARCH=arm64 go build -ldflags "$(LDFLAGS)" -o $@ .

.PHONY: install
## install: install the application
install:
Expand Down

0 comments on commit 7c9f959

Please sign in to comment.