Skip to content

Commit

Permalink
chore(github): preparing to release (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
angelhvargas authored May 21, 2024
1 parent 6a2c3ad commit a148799
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
sudo apt-get update
sudo apt-get install -y gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf
if [ "${{ matrix.arch }}" == "arm64" ]; then
CC=aarch64-linux-gnu-gcc make build
CC=aarch64-linux-gnu-gcc go build -o redfishcli-${{ matrix.arch }}
else
make build
go build -o redfishcli-${{ matrix.arch }}
fi
env:
GOARCH: ${{ matrix.arch }}
Expand Down
15 changes: 4 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ GOTEST_INTEGRATION=$(GOTEST) -tags=integration
GOVET=$(GOCMD) vet
GOFMT=$(GOCMD) fmt
BINARY_NAME=redfishcli
CONFIG_FILE=path/to/config.yaml
CONFIG_FILE=""

# Default target executed when no arguments are given to make.
default: build

# Builds the project.
build:
$(GOBUILD) -o $(BINARY_NAME) ./cmd
$(GOBUILD) -o $(BINARY_NAME) .

# Cleans the project.
clean:
Expand Down Expand Up @@ -42,7 +42,7 @@ test-all: fmt vet test integration-test

# Installs the application.
install:
$(GOBUILD) -o /usr/local/bin/$(BINARY_NAME) ./cmd
$(GOBUILD) -o /usr/local/bin/$(BINARY_NAME) .

# Lists all available make targets.
list:
Expand All @@ -51,15 +51,8 @@ list:
# Help information
help: list ## Displays this help information.

# Here you will define your flags and configuration settings.

# Cobra supports Persistent Flags which will work for this command
# and all subcommands, e.g.:
# healthCmd.PersistentFlags().String("foo", "", "A help for foo")

# Cobra supports local flags which will only run when this command
# is called directly, e.g.:
# healthCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
# CI/CD tooling

# Targets with descriptions for the list command.
build: ## Builds the project.
Expand Down

0 comments on commit a148799

Please sign in to comment.