-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Action failing: Command failed: git describe --tags --abbrev=0 #97
Comments
@eberkund Can you give a link to your repo please? |
It is a private repo so I cannot share it unfortunately. This is the contents of my env:
- GOPROXY=https://proxy.golang.org
- CGO_ENABLED=0
- GO111MODULE=on
before:
hooks:
- go mod download
builds:
- binary: simulator
ldflags: -s -w -X simulator/cmd.commit={{.ShortCommit}} -X simulator/cmd.version={{.Version}}
goos:
- windows
- linux
- darwin
goarch:
- amd64
archives:
- format: zip
files:
- README.md
- screenshot.png
nfpms:
- maintainer: xxx
homepage: xxx
description: Blah blah blah
formats:
- deb
files:
"etc/simulator.service": "/lib/systemd/system/simulator.service"
"etc/default.yml": "/etc/mero/simulator.yml"
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:" In my GitHub workflow I added I have only tried non-tagged commits because I didn't want to make a release when the build was failing. - name: Run goreleaser
uses: goreleaser/goreleaser-action@v1
if: startsWith(github.ref, 'refs/tags/')
with:
version: latest
args: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Hi @crazy-max I tried |
@eberkund Should be ok now ;) |
The same commits in my repo which were previously passing are now failing
The text was updated successfully, but these errors were encountered: