snapcraft does not check source tag when determining if source is up to date

Bug #1632089 reported by Thomi Richards
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Committed
Medium
Unassigned

Bug Description

Steps to reproduce:

Build the snappy-playpen 'vault' snap. Note that snapcraft.yaml currently contains:

source-tag: v0.6.0-rc1

This should produce 'vault-elopio_0.6.0-rc1_amd64.snap'

Update both the 'version' field (at the top of the file) and the source-tag field to have the value "0.6.2".

Expected Behaviour:

 I expect snapcraft to notice that the git tag it has locally is not the same as the git tag specified in snapcraft.yaml, and to fetch the new source.

Observed Behaviour:

 snapcraft does not download new source, and proceeds to build exactly the same snap again.

Tags: dirty
Leo Arias (elopio)
tags: added: dirty
Changed in snapcraft:
status: New → Confirmed
importance: Undecided → Medium
Leo Arias (elopio)
Changed in snapcraft:
milestone: none → 2.23
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.