-
Notifications
You must be signed in to change notification settings - Fork 11
67 lines (63 loc) · 1.77 KB
/
sync-changes-to-release-branch.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: Sync changes to release branches
on:
push:
branches:
- main
permissions:
contents: write
# Syncing branches are currently the solution as long as
# we have multiple binaries version based on Cairo.
# As we move away from that this should be migrated to a normal rust
# release flow.
jobs:
sync-branches:
# strategy:
# matrix:
# supported-version:
# [
# "1.1.0",
# "1.1.1",
# "2.0.1",
# "2.0.2",
# "2.1.0",
# "2.1.1",
# "2.2.0",
# "2.3.0",
# "2.3.1",
# "2.4.0",
# "2.4.1",
# "2.4.2",
# "2.4.3",
# "2.4.4",
# "2.5.0",
# "2.5.1",
# "2.5.2",
# "2.5.3",
# "2.5.4",
# "2.6.0",
# "2.6.1",
# "2.6.2",
# "2.6.3",
# ]
runs-on: ubuntu-latest
steps:
# Do nothing for now since the newest changes include version updates.
- name: Do nothing
run: echo nothing
# - name: Checkout
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
# # This user can be anything using any email, just for git to work as expected.
# - name: setup git configs
# run: |
# git config user.name "cwkang1998 (Github Action)"
# git config user.email "[email protected]"
# - name: update all release branches
# run: |
# git checkout main
# git fetch origin
# git checkout release/${{ matrix.supported-version }}
# git pull
# git merge origin/main
# git push origin release/${{ matrix.supported-version }}