add suppport for clean build (this will generate new artifact)

when making a clean build a new artifact will be generated, following
builds will use this.