Skip to content

Update core_version.h when using feature/stage #101

Closed
@mcspr

Description

@mcspr

Arduino IDE updates core_version.h file when building to include current git revision and git-describe output as preprocessor tokens:
https://github.com/esp8266/Arduino/blob/master/cores/esp8266/core_version.h
https://github.com/esp8266/Arduino/blob/2eb5b5600a3631cdfb9ddd1150505d82e38f3406/platform.txt#L73-L79
It would be nice to be able to use them.

Note: ARDUINO_ESP8266_GIT_DESC=$(git describe --tags) will not work when running shallow clone (which is the default pio git-clone behaviour)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions