Giter Club home page Giter Club logo

Comments (14)

till avatar till commented on July 18, 2024 2

I added the following step (after installing snapcraft) (note the sudo):

- run: sudo snap refresh snapcraft --revision 11040

The revision rolls it back to 8.0.5 (on amd64) and taken from this forum post:
https://forum.snapcraft.io/t/call-for-testing-snapcraft-8-2-1/39928/2

And this makes goreleaser complete. 🚀

from goreleaser.

caarlos0 avatar caarlos0 commented on July 18, 2024 2

this has been fixed by snapcraft 8.2.6

canonical/snapcraft#4769 (comment)

from goreleaser.

xavidop avatar xavidop commented on July 18, 2024 1

I added the following step (after installing snapcraft) (note the sudo):

- run: sudo snap refresh snapcraft --revision 11040

The revision rolls it back to 8.0.5 (on amd64) and taken from this forum post: https://forum.snapcraft.io/t/call-for-testing-snapcraft-8-2-1/39928/2

And this makes goreleaser complete. 🚀

that also worked for me! thanks for sharing!

from goreleaser.

xavidop avatar xavidop commented on July 18, 2024 1

FYI this should be fixed with the latest release of snapcraft 8.2.6.

perfect! can anyone confirm?

from goreleaser.

till avatar till commented on July 18, 2024 1

Not breaking my builds this week. Spent enough time on this. 😆

from goreleaser.

caarlos0 avatar caarlos0 commented on July 18, 2024

at first glance, it looks unrelated to goreleaser, will investigate better later

from goreleaser.

blacktop avatar blacktop commented on July 18, 2024

at first glance, it looks unrelated to goreleaser, will investigate better later

I think you're right. I think the updated snapcraft CLI now DEMANDS that a snap/snapcraft.yml exists in the root of the project folder. 😠

I assume that goreleaser doesn't use or need it?

It might be cool if goreleaser created a temp one in the dist/ dir and pointed at it?

I'm a bit concerned that snapcraft is using the dummy data in the one that I just created w/ snapcraft init somehow in the generated .snaps, because my snap online says it doesn't have a License, but in my .gorelaser.yml I've got it set to MIT

from goreleaser.

twpayne avatar twpayne commented on July 18, 2024

This also suddenly broke for me, with no change to my goreleaser config or my GitHub Actions.

  ⨯ release failed after 12m33s              error=failed to generate snap package: exit status 66: Project file 'snapcraft.yaml' not found in '/home/runner/work/chezmoi/chezmoi'.
Recommended resolution: Ensure the project file exists.
Full execution log: '/home/runner/.local/state/snapcraft/log/snapcraft-20240429-201117.385785.log'

https://github.com/twpayne/chezmoi/actions/runs/8884622247/job/24394135216

My initial suspicion is changes to Snapcraft. It's good that this issue is open in the goreleaser repo so other users can find it.

from goreleaser.

caarlos0 avatar caarlos0 commented on July 18, 2024

FWIW broken on snapcraft 8.2.0 too

from goreleaser.

caarlos0 avatar caarlos0 commented on July 18, 2024

seems to be this: canonical/snapcraft#4769

from goreleaser.

caarlos0 avatar caarlos0 commented on July 18, 2024

seems like it's a regression in snapcraft, so I think the only options now are:

  • install some snapcraft version <8.2.0
  • wait for a new snapcraft release

from goreleaser.

blacktop avatar blacktop commented on July 18, 2024

I saw snapcraft cut a new release yesterday. Has anyone tested it?

from goreleaser.

xavidop avatar xavidop commented on July 18, 2024

I saw snapcraft cut a new release yesterday. Has anyone tested it?

I tested it and it is still failing

from goreleaser.

mr-cal avatar mr-cal commented on July 18, 2024

FYI this should be fixed with the latest release of snapcraft 8.2.6.

from goreleaser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.