cleanbuild loses scripted version

Bug #1695882 reported by Stuart Bishop on 2017-06-05
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Christian Dywan

Bug Description

The version script is working fine for local builds. However, with 'cleanbuild' the calculated version is being thrown away and replaced with the hardcoded version: field. In this case, the snapcraft.yaml contains 'version: git'

Staging plinth
Priming plinth
Determining the version from the project repo (version-script).
The version has been set to '1.0.0+epoch-69-g9bc5ec3'
Snapping 'plinth' -
Snapped plinth_git_amd64.snap
Retrieved plinth_git_amd64.snap
Stopping local:snapcraft-jolly-tops-worm

Leo Arias (elopio) on 2017-06-07
Changed in snapcraft:
status: New → Confirmed
tags: added: cleanbuild
Changed in snapcraft:
importance: Undecided → High
Blake Rouse (blake-rouse) wrote :

This affects the MAAS snap as well since we transitioned to git and use the new version-script.

Sergio Schvezov (sergiusens) wrote :

This is just the filename being different, the version inside the snap (once installed or pushed to the store) is correct.

Changed in snapcraft:
status: Confirmed → Triaged
importance: High → Medium
assignee: nobody → Sergio Schvezov (sergiusens)
Changed in snapcraft:
assignee: Sergio Schvezov (sergiusens) → Christian Dywan (kalikiana)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers