Skip to content

Commit da17b7a

Browse files
perangelbgroff
authored andcommitted
fix: use VERSION env and not .env file for sourcing version (#14083)
1 parent df27452 commit da17b7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/lib/lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ get_connector_version() {
7272
_get_docker_image_version "$dockerfile"
7373
}
7474

75-
VERSION=$(cat .version | grep "^VERSION=" | cut -d = -f 2); export VERSION
75+
VERSION=${VERSION:-dev}; export VERSION
7676
SCRIPT_DIRECTORY=$(_script_directory); export SCRIPT_DIRECTORY
7777

7878
DOT_AIRBYTE_ROOT=${DOT_AIRBYTE_ROOT:=~/.airbyte}

0 commit comments

Comments
 (0)