Skip to content
\n

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\":

\n
  • 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
\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

\n

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"}}}

Publishing a release for an old tag #5113

Closed Answered by caarlos0
alvmarrod asked this question in Q&A
Discussion options

You must be logged in to vote

you can use --skip=validate, which will release anyway

although the better approach is to checkout said tag, and run goreleaser from it.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@alvmarrod
Comment options

@caarlos0
Comment options

Answer selected by alvmarrod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants