File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 38
38
from platformio .proc import exec_command
39
39
from platformio .util import get_systype
40
40
from platformio .builder .tools .piolib import ProjectAsLibBuilder
41
+ from platformio .package .version import get_original_version
41
42
42
43
env = DefaultEnvironment ()
43
44
env .SConscript ("_embed_files.py" , exports = "env" )
@@ -829,7 +830,9 @@ def create_version_file():
829
830
version_file = os .path .join (FRAMEWORK_DIR , "version.txt" )
830
831
if not os .path .isfile (version_file ):
831
832
with open (version_file , "w" ) as fp :
832
- fp .write (platform .get_package_version ("framework-espidf" ))
833
+ fp .write (
834
+ get_original_version (platform .get_package_version ("framework-espidf" ))
835
+ )
833
836
834
837
835
838
def generate_empty_partition_image (binary_path , image_size ):
You can’t perform that action at this time.
0 commit comments