Skip to content

Commit

Permalink
Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Bromeon committed Jun 23, 2024
1 parent 1de1a9a commit fb2a984
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,19 @@ jobs:

- name: "Commit raw changes"
run: |
# Backup current repo, so we can checkout.
mkdir -p /tmp/repo
rsync -av --exclude .git --exclude target ./ /tmp/repo/
git switch releases || git switch --orphan releases
find . -mindepth 1 ! -name '.git' -exec rm -rf {} +
rsync -a /tmp/repo/ ./
find . -mindepth 1 -maxdepth 1 ! -name '.git' -exec rm -rf {} +
# Restore.
rsync -av --ignore-existing /tmp/repo/ .
# Commit.
git config user.name "Godot-Rust Automation"
git config user.email "GodotRust@users.noreply.github.com"
git commit -am "Repo state for v${{ env.GDEXT_PUBLISHED_VERSION }}."
git add .
git commit -m "Repo state for v${{ env.GDEXT_PUBLISHED_VERSION }}."
- name: "Apply #[doc(cfg(...))]"
run: .github/other/patch-doc-cfg.sh --install-sd --rustfmt
Expand Down

0 comments on commit fb2a984

Please sign in to comment.