# CircleCI CLI Config Process is writing it's own code for a version 2.1

**URL:** <https://discuss.circleci.com/t/circleci-cli-config-process-is-writing-its-own-code-for-a-version-2-1/28235>\
**Category:** Mobile\
**Tags:** android\
**Created:** [February 7, 2019, 9:24pm UTC](https://discuss.circleci.com/t/circleci-cli-config-process-is-writing-its-own-code-for-a-version-2-1/28235 "2019-02-07T21:24:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JVSSPraneethGithub](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@JVSSPraneethGithub](https://discuss.circleci.com/u/JVSSPraneethGithub)\
**Post date:** [February 7, 2019, 9:24pm UTC](https://discuss.circleci.com/t/circleci-cli-config-process-is-writing-its-own-code-for-a-version-2-1/28235/1 "2019-02-07T21:24:28Z")

</div>

My .circleci/config.yml file uses version 2.1

My circleci CLI version is latest up-to-date 0.1.5314+26252a9

circleci CLI is still not supporting version 2.1. Therefore, I go by the

```
circleci config process .circleci/config.yml > .circleci/process.yml

```

So, I have this line in the run-command of a build-job step in the .circleci/config.yml -

```
sed -i "s/versionCode=*.*/versionCode=$((`date +%s` - 999999))/" gradle.properties

```

After running the circleci config process above, this line is changed to the following in the .circleci/process.yml-

```
sed -i "s/versionCode=*.*/versionCode=$((`date +%!s(MISSING)` - 999999))/" gradle.properties

```

Can somebody spot the difference, and suggest why circleci CLI which was only supposed to rearrange version 2.1 elements to version 2.0 elements based of the ‘config process’ commands is also editing my run-commands?

---

<div class="post-metadata">

**Author:** ![levlaz](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/levlaz/32/36978_2.png) [@levlaz](https://discuss.circleci.com/u/levlaz)\
**Post date:** [February 10, 2019, 6:48pm UTC](https://discuss.circleci.com/t/circleci-cli-config-process-is-writing-its-own-code-for-a-version-2-1/28235/2 "2019-02-10T18:48:52Z")

</div>

This seems like a bug in the CLI, but I am curious on specifically what you are trying to do here. Can you help me understand why you are running the `config process` command?

---

<div class="post-metadata">

**Author:** ![JVSSPraneethGithub](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@JVSSPraneethGithub](https://discuss.circleci.com/u/JVSSPraneethGithub)\
**Post date:** [February 11, 2019, 3:23pm UTC](https://discuss.circleci.com/t/circleci-cli-config-process-is-writing-its-own-code-for-a-version-2-1/28235/3 "2019-02-11T15:23:10Z")

</div>

CLI does not yet support workflows and executors, the version 2.1 features of the circleci cloud. Hence the ‘config process’ to execute and validate certain parts of the build steps locally.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [May 12, 2019, 3:23pm UTC](https://discuss.circleci.com/t/circleci-cli-config-process-is-writing-its-own-code-for-a-version-2-1/28235/4 "2019-05-12T15:23:12Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
