Skip to content

Fix cargo update and push#12

Merged
gburgessiv merged 2 commits intomainfrom
fix-cargo-update-and-push
Aug 30, 2025
Merged

Fix cargo update and push#12
gburgessiv merged 2 commits intomainfrom
fix-cargo-update-and-push

Conversation

@gburgessiv
Copy link
Copy Markdown
Owner

@gburgessiv gburgessiv commented Aug 30, 2025

  • Add fetching and main switch so the updates are always on fresh
    sources.
  • Delete the remote branch if it exists, since it belongs to an old
    cargo-update invocation.

@gburgessiv gburgessiv requested a review from Copilot August 30, 2025 17:19
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves the cargo update automation script by ensuring it operates on fresh sources and handles existing remote branches properly. The changes ensure the script always starts from the latest main branch and cleans up any previous cargo-update branches before creating new ones.

  • Add git fetch and main branch switching to work with latest sources
  • Delete existing remote cargo-update branch to avoid conflicts
  • Clean up local cargo-update branch before creating a new one

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread scripts/cargo-update-and-push.sh
Comment thread scripts/cargo-update-and-push.sh Outdated
@gburgessiv gburgessiv enabled auto-merge (squash) August 30, 2025 17:30
@gburgessiv gburgessiv disabled auto-merge August 30, 2025 17:31
@gburgessiv gburgessiv enabled auto-merge (squash) August 30, 2025 17:31
@gburgessiv gburgessiv force-pushed the fix-cargo-update-and-push branch from 198e9a2 to feda3a7 Compare August 30, 2025 17:39
@gburgessiv gburgessiv disabled auto-merge August 30, 2025 17:42
@gburgessiv gburgessiv force-pushed the fix-cargo-update-and-push branch from feda3a7 to 4902f29 Compare August 30, 2025 17:44
- Add fetching and `main` switch so the updates are always on fresh
  sources.
- Delete the remote branch if it exists, since it belongs to an old
  cargo-update invocation.
@gburgessiv gburgessiv force-pushed the fix-cargo-update-and-push branch from 4902f29 to b7a9e57 Compare August 30, 2025 17:45
@gburgessiv gburgessiv enabled auto-merge (squash) August 30, 2025 17:45
@gburgessiv gburgessiv merged commit ec1128c into main Aug 30, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants