Comment 1 for bug 1831135

Revision history for this message
MichaƂ Sawicz (saviq) wrote :

This is still an issue:

Updating build step for nymea-app ('pull' step changed)
++ git -C /root/parts/nymea-app/src describe --tags
+ snapcraftctl set-version 1.0.272-2-g94acae8a
Unable to set version: it was already set in the 'build' step.
Run the same command again with --debug to shell into the environment if you wish to introspect this failure.

The relevant yaml:

base: core20
...
    override-build: |
      snapcraftctl set-version $( git -C ${SNAPCRAFT_PART_SRC} describe --tags )
      snapcraftctl build