Skip to content

Commit 00233f9

Browse files
authored
Merge pull request #204 from cyberark/local-dev-version
Update to support auto-local VERSION files
2 parents 8cbd1c8 + 526eaf2 commit 00233f9

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

dev/start

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ function v5_development() {
1111
docker exec -e CONJUR_AUTHN_API_KEY="$api_key" -it --detach-keys 'ctrl-\' $(docker-compose ps -q gem) bash
1212
}
1313

14+
# Set up VERSION file for local development
15+
if [ ! -f "../VERSION" ]; then
16+
echo -n "0.0.dev" > ../VERSION
17+
fi
18+
1419
docker-compose pull
1520
docker-compose build
1621

test.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ function finish {
1313

1414
trap finish EXIT
1515

16+
# Set up VERSION file for local development
17+
if [ ! -f "../VERSION" ]; then
18+
echo -n "0.0.dev" > ../VERSION
19+
fi
1620

1721
function main() {
1822
if ! docker info >/dev/null 2>&1; then

0 commit comments

Comments
 (0)