Skip to content
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

Azure devops + 2nd git.commit error: "Author identity unknown" #18

Open
josefernandezatceiba opened this issue Sep 23, 2024 · 0 comments

Comments

@josefernandezatceiba
Copy link

i'm running the container image within an azure devops pipeline and i get this error : 2nd git.commit error: "Author identity unknown", followed by "fatal: unable to auto-detect email address (got 'unknown@037ed348e73f.(none)')"

is there a way to solve this ?

this is my script

  • script: |
    git config --global user.email "$(CI_EMAIL)" && git config --global user.name "$(CI_USERNAME)"
    docker run --rm -v $(pwd):/app -u $(id -u) commitizen/commitizen:3 bump --annotated-tag --check-consistency
    git push --tags origin HEAD:main
    condition: eq(variables.isMain, true)
    displayName: 'Bumping release number'

and this is the error output

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant