Could you please share a bit more about your issue?
Do you mean that the current value is overwritten automatically when deploying your solution to another Environment?
Further, do you want the current value to remain the same across different environments?
Based on the issue that you mentioned, I think you have some misunderstanding with the Default value or Current Value of Environment Variable.
Currently, within PowerApps, only the Default value of Environment variable could remain the same across different environments. The Current value is scope to your current PowerApps environment, when you deploy the Solution including Environment variable to another different Environment, the Current value would be lost.
as already stated above it was my fault. I created the current value within the solution and did not remove it before exporting the solution. As result the current value was overwritten in the target environment.