diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 371eea4..ef105c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,13 +74,6 @@ jobs: echo "tag=$TAG" echo "tag=$TAG" >> $GITHUB_OUTPUT - - name: Build binary with version info - env: - VERSION: ${{ steps.get_tag.outputs.tag }} - run: | - mkdir -p bin - go build -ldflags "-X github.com/apiqube/cli/cmd.version=$VERSION" -o ./bin/qube . - - name: Create GitHub Release (if not exists) env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/Makefile b/Makefile index 94d639f..27b98cb 100644 --- a/Makefile +++ b/Makefile @@ -5,9 +5,6 @@ BUILD_DIR=./bin .PHONY: build clean -install: - go install github.com/apiqube/cli@latest - build: @echo "🔧 Building $(BINARY_NAME) version $(VERSION)" go build \ diff --git a/go.mod b/go.mod index c8c9ff0..c830ff8 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,10 @@ module github.com/apiqube/cli -go 1.24.3 +go 1.24.2 require github.com/spf13/cobra v1.9.1 require ( github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/spf13/pflag v1.0.6 // indirect -) \ No newline at end of file +)