diff --git a/.circleci/real_config.yml b/.circleci/real_config.yml index 41df848581e..eca2a89391f 100644 --- a/.circleci/real_config.yml +++ b/.circleci/real_config.yml @@ -2704,8 +2704,15 @@ jobs: - run: name: Set VERSION environment variable command: | - $version = & ~/project/version.sh - [System.Environment]::SetEnvironmentVariable('VERSION', $version, [System.EnvironmentVariableTarget]::Process) + $version = & bash ./version.sh + setx VERSION $version + $version + $VERSION + - run: + name: Set VERSION environment variable + command: | + $version + $VERSION - unless: condition: equal: [ win/default, << parameters.executor-name >> ]