File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22
3+ # This script is ran whenever a PR is made to implement a Meilisearch prototype.
4+ # For example if Meilisearch creates a prototype for radioactive search, the SDK may implement a way to try out the radioactive search.
5+ # Nonetheless, the tests of this implentation should run against the prototype and not the latest release of Meilisearch.
6+ # To be able to do so, Meilisearch creates a docker image with the changes.
7+ # The purpose of this script is to find the correct docker image containing the changes.
8+ # For example,
9+ # The radioactive search docker image is named `v0.30.0-radioactive-search.beta.0`
10+ # our branch is named `prototype/radioactive-search.0`
11+ # Using the branch name, this script is going to retrieve the name of the docker image.
12+
313# See https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables for references on GITHUB_REF_NAME
414prototype_branch=$1 # $GITHUB_REF_NAME
515prototype_branch=$( echo $prototype_branch | sed -r ' s/prototype-beta\///' ) # remove pre-prending prototype-beta/
You can’t perform that action at this time.
0 commit comments