Skip to content

Commit

Permalink
Merge pull request #9 from SovereignCloudStack/fix/binary-name
Browse files Browse the repository at this point in the history
🐛 Fix binary name to csctl-openstack to be consistent with csctl
  • Loading branch information
michal-gubricky authored Apr 16, 2024
2 parents a43701f + e056fcd commit 032044a
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ about: Tell us about a problem you are experiencing.

**Environment:**

- csctl-plugin-openstack version: (use `csctl-plugin-openstack version`)
- OS (e.g. from `/etc/os-release`):
- csctl-plugin-openstack version:
- OS (e.g. from `/etc/os-release`):
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ about: Suggest an idea for this project.

**Environment:**

- csctl-plugin-openstack version: (use `csctl-plugin-openstack version`)
- csctl-plugin-openstack version:
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build csctl-plugin-openstack binary
name: Build csctl-openstack binary
# yamllint disable rule:line-length
on: # yamllint disable-line rule:truthy
push:
Expand All @@ -19,4 +19,4 @@ jobs:
# Load Golang cache build from GitHub
- name: build go binary
run: |
go build -o csctl-plugin-openstack main.go
go build -o csctl-openstack main.go
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ temp
.reports
# build and release
dist
csctl-plugin-openstack
csctl-openstack
tmp/
releases/
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project_name: csctl-plugin-openstack

builds:
- binary: csctl-plugin-openstack
- binary: csctl-openstack
goos:
- linux
- darwin
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,17 @@ export GOBIN := $(abspath $(TOOLS_BIN_DIR))
#########

.PHONY: clean
clean: ## cleans the csctl-plugin-openstack binary
@if [ -f csctl-plugin-openstack ]; then rm csctl-plugin-openstack; fi
clean: ## cleans the csctl-openstack binary
@if [ -f csctl-openstack ]; then rm csctl-openstack; fi


##@ Common
##########
# Common #
##########
.PHONY: build
build: # build the csctl-plugin-openstack binary
go build -ldflags "$(LDFLAGS)" -o csctl-plugin-openstack main.go
build: # build the csctl-openstack binary
go build -ldflags "$(LDFLAGS)" -o csctl-openstack main.go

.PHONY: lint-golang
lint-golang: ## Lint Golang codebase
Expand Down

0 comments on commit 032044a

Please sign in to comment.