ci: fix remaining release pipeline bugs and bump to 0.122.5

- 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
This commit is contained in:
anonpenguin23 2026-05-12 09:32:59 +03:00
parent 01b0a785b4
commit cd1ec6040b
3 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -9,7 +9,7 @@ env:
before:
hooks:
- cd core && go mod tidy
- go -C core mod tidy
builds:
# orama CLI binary

View File

@ -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)'