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

Bug: release action - docs git push fails #161

Closed
jpmcb opened this issue Sep 9, 2024 · 3 comments · Fixed by #162 or #165
Closed

Bug: release action - docs git push fails #161

jpmcb opened this issue Sep 9, 2024 · 3 comments · Fixed by #162 or #165
Assignees

Comments

@jpmcb
Copy link
Member

jpmcb commented Sep 9, 2024

Describe the bug

Followup to #157 - looks like since the release process commits the changelog during the release flow in semantic-release we'll need to pull new changes.

Run just gen-docs
go run main.go docs ./docs/
Generating documentation in /home/runner/work/pizza-cli/pizza-cli/docs...
Finished generating documentation in /home/runner/work/pizza-cli/pizza-cli/docs
[beta d2cb7cf] chore: automated docs generation for release
 14 files changed, 17 insertions(+), 17 deletions(-)
To https://github.com/open-sauced/pizza-cli
 ! [rejected]        HEAD -> beta (fetch first)
error: failed to push some refs to 'https://github.com/open-sauced/pizza-cli'
hint: Updates were rejected because the remote contains work that you do not
hint: have locally. This is usually caused by another repository pushing to
hint: the same ref. If you want to integrate the remote changes, use
hint: 'git pull' before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

https://github.com/open-sauced/pizza-cli/actions/runs/10775149597/job/29878973449#step:5:16


Could we also make this co-authored by the original pusher like semantic-release has it?

Screenshot 2024-09-09 at 8 27 54 AM

Steps to reproduce

N/a

Copy link
Contributor

open-sauced bot commented Sep 9, 2024

🎉 This issue has been resolved in version 1.4.0-beta.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link
Contributor

open-sauced bot commented Sep 9, 2024

🎉 This issue has been resolved in version 1.4.0-beta.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link
Contributor

open-sauced bot commented Sep 11, 2024

🎉 This issue has been resolved in version 1.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@open-sauced open-sauced bot added the released label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants