open-sauced / pizza-cli

A CLI for all things OpenSauced
MIT License
39 stars 11 forks source link

Bug: release action - docs git push fails #161

Closed jpmcb closed 1 month ago

jpmcb commented 1 month ago

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

open-sauced[bot] commented 1 month ago

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

The release is available on:

Your semantic-release bot :package::rocket:

open-sauced[bot] commented 1 month ago

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

The release is available on:

Your semantic-release bot :package::rocket:

open-sauced[bot] commented 1 month ago

:tada: This issue has been resolved in version 1.4.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: