From cecdc80e2674120dea9dd2cfa1f6f944c9a5e664 Mon Sep 17 00:00:00 2001 From: Remi Dettai Date: Thu, 18 Jan 2024 10:56:52 +0000 Subject: [PATCH] Use aws-beta- as tag name --- .github/workflows/publish_lambda_packages.yml | 2 +- distribution/lambda/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish_lambda_packages.yml b/.github/workflows/publish_lambda_packages.yml index 88a90e49aa9..ec0244df703 100644 --- a/.github/workflows/publish_lambda_packages.yml +++ b/.github/workflows/publish_lambda_packages.yml @@ -3,7 +3,7 @@ name: Build and publish AWS Lambda packages on: push: tags: - - "lambda-beta-*" + - "aws-lambda-beta-*" jobs: build-lambdas: diff --git a/distribution/lambda/Makefile b/distribution/lambda/Makefile index 5300567e30e..39cd723271f 100644 --- a/distribution/lambda/Makefile +++ b/distribution/lambda/Makefile @@ -3,7 +3,7 @@ SHELL := bash .SHELLFLAGS := -eu -o pipefail -c -QW_LAMBDA_VERSION?=$(shell git tag --sort=committerdate | grep -E "lambda-beta-" | tail -1 | cut -b 8-) +QW_LAMBDA_VERSION?=$(shell git tag --sort=committerdate | grep -E "aws-lambda-beta-" | tail -1 | cut -b 12-) $(if $(QW_LAMBDA_VERSION),,$(error "Version tag not found, try 'git fetch --tags' or specify QW_LAMBDA_VERSION=beta-")) PACKAGE_BASE_URL=https://github.com/quickwit-oss/quickwit/releases/download/aws-lambda-$(QW_LAMBDA_VERSION)/ SEARCHER_PACKAGE_FILE=quickwit-lambda-searcher-$(QW_LAMBDA_VERSION)-x86_64.zip