It("returns an error if a glob is provided that does not match any files", func() {
				request.Params.Globs = []string{
					"*.tgz",
					"*.gif",
				}

				_, err := command.Run(sourcesDir, request)
				Ω(err).Should(HaveOccurred())
				Ω(err).Should(MatchError("could not find file that matches glob '*.gif'"))
			})

			Context("when upload release asset fails", func() {
				BeforeEach(func() {
					existingAsset := false
					githubClient.DeleteReleaseAssetStub = func(github.ReleaseAsset) error {
						existingAsset = false
						return nil
					}

					githubClient.ListReleaseAssetsReturns([]github.ReleaseAsset{
						{
							ID:   github.Int(456789),
							Name: github.String("great-file.tgz"),
						},
						{
							ID:   github.Int(3450798),
							Name: github.String("whatever.tgz"),
						},
					}, nil)

					githubClient.UploadReleaseAssetStub = func(github.RepositoryRelease, string, *os.File) error {
						Expect(existingAsset).To(BeFalse())