From cd1ec6040b676e01086f85f32f1a6d42869034d8 Mon Sep 17 00:00:00 2001 From: anonpenguin23 Date: Tue, 12 May 2026 09:32:59 +0300 Subject: [PATCH] ci: fix remaining release pipeline bugs and bump to 0.122.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - goreleaser: 'cd core && go mod tidy' didn't work — hooks run via exec, not shell. Switched to 'go -C core mod tidy' which is shell-free. - release-apt: remove redundant mv that renamed file to itself (PKG_NAME and target name were identical, dpkg-deb already named it correctly) - bump VERSION to 0.122.5 for second pipeline test --- .github/workflows/release-apt.yml | 1 - .goreleaser.yaml | 2 +- core/Makefile | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-apt.yml b/.github/workflows/release-apt.yml index b5edc98..2ca5b67 100644 --- a/.github/workflows/release-apt.yml +++ b/.github/workflows/release-apt.yml @@ -111,7 +111,6 @@ jobs: PKG_NAME="orama_${VERSION}_${ARCH}" dpkg-deb --build ${PKG_NAME} - mv ${PKG_NAME}.deb orama_${VERSION}_${ARCH}.deb - name: Upload artifact uses: actions/upload-artifact@v4 diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 85e1f47..4b77e50 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -9,7 +9,7 @@ env: before: hooks: - - cd core && go mod tidy + - go -C core mod tidy builds: # orama CLI binary diff --git a/core/Makefile b/core/Makefile index 8ba6015..21c37ef 100644 --- a/core/Makefile +++ b/core/Makefile @@ -63,7 +63,7 @@ test-e2e-quick: .PHONY: build clean test deps tidy fmt vet lint install-hooks push-devnet push-testnet rollout-devnet rollout-testnet release -VERSION := 0.122.4 +VERSION := 0.122.5 COMMIT ?= $(shell git rev-parse --short HEAD 2>/dev/null || echo unknown) DATE ?= $(shell date -u +%Y-%m-%dT%H:%M:%SZ) LDFLAGS := -X 'main.version=$(VERSION)' -X 'main.commit=$(COMMIT)' -X 'main.date=$(DATE)'