mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-06-17 01:54:13 +00:00
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 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
fd45d26d51
commit
6c0ada087e
1
.github/workflows/release-apt.yml
vendored
1
.github/workflows/release-apt.yml
vendored
@ -111,7 +111,6 @@ jobs:
|
|||||||
PKG_NAME="orama_${VERSION}_${ARCH}"
|
PKG_NAME="orama_${VERSION}_${ARCH}"
|
||||||
|
|
||||||
dpkg-deb --build ${PKG_NAME}
|
dpkg-deb --build ${PKG_NAME}
|
||||||
mv ${PKG_NAME}.deb orama_${VERSION}_${ARCH}.deb
|
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
@ -9,7 +9,7 @@ env:
|
|||||||
|
|
||||||
before:
|
before:
|
||||||
hooks:
|
hooks:
|
||||||
- cd core && go mod tidy
|
- go -C core mod tidy
|
||||||
|
|
||||||
builds:
|
builds:
|
||||||
# orama CLI binary
|
# orama CLI binary
|
||||||
|
|||||||
@ -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
|
.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)
|
COMMIT ?= $(shell git rev-parse --short HEAD 2>/dev/null || echo unknown)
|
||||||
DATE ?= $(shell date -u +%Y-%m-%dT%H:%M:%SZ)
|
DATE ?= $(shell date -u +%Y-%m-%dT%H:%M:%SZ)
|
||||||
LDFLAGS := -X 'main.version=$(VERSION)' -X 'main.commit=$(COMMIT)' -X 'main.date=$(DATE)'
|
LDFLAGS := -X 'main.version=$(VERSION)' -X 'main.commit=$(COMMIT)' -X 'main.date=$(DATE)'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user