Fix skipping of uploading non snapshot versions on CI