I have also tried to manually publish this tag, by executing the release manually and locally on the tag commit. However this also fails, as goreleaser
complains about \"git is on dirty state\":
• could not find a configuration file, using defaults...\n • loading environment variables\n • using token from $GITHUB_TOKEN\n • getting and validating git state\n • couldn't find any tags before \"1.0.0\"\n • git state commit=ac668f88b8003440a0c0005473c9672829b86bc5 branch=HEAD current_tag=1.0.0 previous_tag=<unknown> dirty=true\n ⨯ release failed after 0s error=git is in a dirty state\n
Any idea on how could I accomplish the publication of this release?
","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"you can use --skip=validate
, which will release anyway
although the better approach is to checkout said tag, and run goreleaser from it.
","upvoteCount":1,"url":"https://github.com/orgs/goreleaser/discussions/5113#discussioncomment-10526429"}}}-
I have setup Because of this goreleaser release --snapshot --clean
• skipping announce, publish and validate...
• cleaning distribution directory
... I have also tried to manually publish this tag, by executing the release manually and locally on the tag commit. However this also fails, as
Any idea on how could I accomplish the publication of this release? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
you can use although the better approach is to checkout said tag, and run goreleaser from it. |
Beta Was this translation helpful? Give feedback.
you can use
--skip=validate
, which will release anywayalthough the better approach is to checkout said tag, and run goreleaser from it.