mirror of
https://github.com/bitwarden/server.git
synced 2025-04-18 19:48:12 -05:00
Change syntax
This commit is contained in:
parent
800c187f51
commit
8978d9c861
16
justfile
16
justfile
@ -12,19 +12,19 @@ test:
|
||||
build:
|
||||
# Login to ACR
|
||||
az acr login -n bitwardenprod.azurecr.io
|
||||
if [[ $(grep "pull" <<< "${GITHUB_REF}") ]]; then
|
||||
IMAGE_TAG=$(echo "${GITHUB_HEAD_REF}" | sed "s#/#-#g")
|
||||
if `grep "pull" <<< "${GITHUB_REF}"`; then
|
||||
IMAGE_TAG := `echo "${GITHUB_HEAD_REF}" | sed "s#/#-#g"`
|
||||
else
|
||||
IMAGE_TAG=$(echo "${GITHUB_REF:11}" | sed "s#/#-#g")
|
||||
IMAGE_TAG := `echo "${GITHUB_REF:11}" | sed "s#/#-#g"`
|
||||
fi
|
||||
|
||||
if [[ "$IMAGE_TAG" == "main" ]]; then
|
||||
IMAGE_TAG=dev
|
||||
if "${IMAGE_TAG}" == "main"; then
|
||||
IMAGE_TAG := dev
|
||||
fi
|
||||
|
||||
echo $PROJECT_NAME
|
||||
PROJECT_NAME=$(echo "$PROJECT_NAME" | awk '{print tolower($0)}')
|
||||
echo $PROJECT_NAME
|
||||
echo ${PROJECT_NAME}
|
||||
PROJECT_NAME := `echo "$PROJECT_NAME" | awk '{print tolower($0)}'`
|
||||
echo ${PROJECT_NAME}
|
||||
|
||||
upload:
|
||||
echo "Uploading..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user