Skip to content

Commit

Permalink
Update stable branch
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAwesome committed Nov 29, 2024
1 parent 0399696 commit 2c75cf1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/make_stable_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ name: Make Stable Release
on: workflow_dispatch

jobs:
make_stable_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update stable branch
run: |
./scripts/update_stable_branch.sh
make_stable_release:
runs-on: ubuntu-latest
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
set -euxo pipefail

if [[ "${GITHUB_ACTIONS:-}" != "" && "${ACT:-}" != "true" ]]; then
git branch -f staging
git push origin staging --force
git checkout latest
git branch -f stable
git push origin stable --force
else
echo "Skipping staging push because not in GitHub Actions."
fi

0 comments on commit 2c75cf1

Please sign in to comment.