Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
fix: remove periods from project name when release version is present (
Browse files Browse the repository at this point in the history
  • Loading branch information
Rebecca Graber authored Jan 9, 2024
1 parent a43aa5e commit cde53a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions options.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ DEVSTACK_WORKSPACE ?= $(shell pwd)/..
# so changing it will give you a separate set of databases.
# See https://docs.docker.com/compose/reference/envvars/#compose_project_name
# If OPENEDX_RELAESE is defined, defaults to `devstack-${OPENEDX_RELEASE}`;
# otherwise, it defaults to `devstack`.
# otherwise, it defaults to `devstack`. Any periods will be replaced with hyphens to comply with docker project naming rules (eg `devstack-quince.master` will become `devstack-quince-master`).
# Be sure to bring down services before changing the value of `COMPOSE_PROJECT_NAME`.
ifdef OPENEDX_RELEASE
COMPOSE_PROJECT_NAME ?= devstack-${OPENEDX_RELEASE}
COMPOSE_PROJECT_NAME ?= devstack-$(echo ${OPENEDX_RELEASE} | tr . -)
else
COMPOSE_PROJECT_NAME ?= devstack
endif
Expand Down

0 comments on commit cde53a1

Please sign in to comment.