Skip to content

Commit

Permalink
Revert "fix: temp disable snapcraft (#4826)"
Browse files Browse the repository at this point in the history
This reverts commit fbddb70.
  • Loading branch information
caarlos0 committed May 3, 2024
1 parent fbddb70 commit 1e3a6b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ snapcrafts:
grade: stable
confinement: classic
publish: true
disable: true # "{{ if .IsNightly }}true{{ end }}"
disable: "{{ if .IsNightly }}true{{ end }}"

sboms:
- artifacts: archive
Expand Down
7 changes: 0 additions & 7 deletions internal/pipe/snapcraft/snapcraft_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ func TestRunPipeMissingInfo(t *testing.T) {
}

func TestRunPipe(t *testing.T) {
t.Skip("https://github.com/goreleaser/goreleaser/issues/4816")
testlib.CheckPath(t, "snapcraft")
folder := t.TempDir()
dist := filepath.Join(folder, "dist")
Expand Down Expand Up @@ -154,7 +153,6 @@ func TestRunPipeInvalidNameTemplate(t *testing.T) {
}

func TestRunPipeWithName(t *testing.T) {
t.Skip("https://github.com/goreleaser/goreleaser/issues/4816")
testlib.CheckPath(t, "snapcraft")
folder := t.TempDir()
dist := filepath.Join(folder, "dist")
Expand Down Expand Up @@ -189,7 +187,6 @@ func TestRunPipeWithName(t *testing.T) {
}

func TestRunPipeMetadata(t *testing.T) {
t.Skip("https://github.com/goreleaser/goreleaser/issues/4816")
testlib.CheckPath(t, "snapcraft")
folder := t.TempDir()
dist := filepath.Join(folder, "dist")
Expand Down Expand Up @@ -345,7 +342,6 @@ func TestNoSnapcraftInPath(t *testing.T) {
}

func TestRunNoArguments(t *testing.T) {
t.Skip("https://github.com/goreleaser/goreleaser/issues/4816")
testlib.CheckPath(t, "snapcraft")
folder := t.TempDir()
dist := filepath.Join(folder, "dist")
Expand Down Expand Up @@ -380,7 +376,6 @@ func TestRunNoArguments(t *testing.T) {
}

func TestCompleter(t *testing.T) {
t.Skip("https://github.com/goreleaser/goreleaser/issues/4816")
testlib.CheckPath(t, "snapcraft")
folder := t.TempDir()
dist := filepath.Join(folder, "dist")
Expand Down Expand Up @@ -418,7 +413,6 @@ func TestCompleter(t *testing.T) {
}

func TestCommand(t *testing.T) {
t.Skip("https://github.com/goreleaser/goreleaser/issues/4816")
testlib.CheckPath(t, "snapcraft")
folder := t.TempDir()
dist := filepath.Join(folder, "dist")
Expand Down Expand Up @@ -454,7 +448,6 @@ func TestCommand(t *testing.T) {
}

func TestExtraFile(t *testing.T) {
t.Skip("https://github.com/goreleaser/goreleaser/issues/4816")
testlib.CheckPath(t, "snapcraft")
folder := t.TempDir()
dist := filepath.Join(folder, "dist")
Expand Down

0 comments on commit 1e3a6b9

Please sign in to comment.