goreleaser / goreleaser-action

GitHub Action for GoReleaser
https://github.com/marketplace/actions/goreleaser-action
MIT License
865 stars 78 forks source link

ci: fix workflow #357

Closed crazy-max closed 2 years ago

crazy-max commented 2 years ago

encounter this error while releasing v3.0.0:

v3.0.0 tag found for commit '68acf3b'
/opt/hostedtoolcache/goreleaser-action/1.9.1/x64/goreleaser release --skip-publish --rm-dist
   • releasing...     
   • loading config file       file=.goreleaser.yml
   • loading environment variables
   • getting and validating git state
      • couldn't find any tags before "v1.2.3"
      • building...               commit=68acf3b1adf004ac9c2f0a4259e85c5f66e99bef latest tag=v1.2.3
   ⨯ release failed after 0.03s error=git tag v1.2.3 was not made against commit 68acf3b1adf004ac9c2f0a4259e85c5f66e99bef
Error: The process '/opt/hostedtoolcache/goreleaser-action/1.9.1/x64/goreleaser' failed with exit code 1

that's because v1.2.3 already exists in the working tree.

codecov[bot] commented 2 years ago

Codecov Report

Merging #357 (5022647) into master (7e270cc) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #357   +/-   ##
=======================================
  Coverage   66.92%   66.92%           
=======================================
  Files           4        4           
  Lines         130      130           
  Branches       23       23           
=======================================
  Hits           87       87           
  Misses         25       25           
  Partials       18       18           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7e270cc...5022647. Read the comment docs.