You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+80Lines changed: 80 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -123,6 +123,86 @@ Two things are required:
123
123
docker build -t magece/mirror-repo-js .
124
124
```
125
125
126
+
## Process of building a new mirror release
127
+
128
+
A new mirror release gets created when Magento releases a new version.
129
+
The process is composed of a series of steps across 3 repositories of the mage-os organization.
130
+
131
+
### 0. Preliminary check
132
+
133
+
Before starting, make sure that the new tags are merged into every `mage-os/mirror-*` repository
134
+
(eg: https://github.com/mage-os/mirror-magento2).
135
+
In case it’s not, go to [mage-os/infrastructure](http://github.com/mage-os/infrastructure)
136
+
and run [Sync magento/ org upstream repositories into mirrors for mage-os distribution](https://github.com/mage-os/infrastructure/actions/workflows/sync-upstream-magento.yml)
137
+
action (check branch `main` when running it).
138
+
139
+
### 1. magento2-base-composer-json
140
+
141
+
- Fork and clone https://github.com/mage-os/magento2-base-composer-json,
142
+
then create a new branch that you'll use to create a pull request.
143
+
- Run the `add-release.sh` script for every release, eg:
144
+
```sh
145
+
./add-release.sh 2.4.7-p4
146
+
./add-release.sh 2.4.6-p9
147
+
./add-release.sh 2.4.5-p11
148
+
./add-release.sh 2.4.4-p12
149
+
```
150
+
- Add, commit and push all the newly created files.
151
+
152
+
For a practical example [check this PR](https://github.com/mage-os/magento2-base-composer-json/pull/7).
153
+
154
+
### 2. github-actions
155
+
156
+
- Fork and clone https://github.com/mage-os/github-actions,
157
+
then create a new branch that you'll use to create a pull request.
Remember that, when inserting a new version like 2.4.6-p9, you´ll have to change the _end of life_
161
+
date of the previous version (2.4.6-p8) to _one day earlier_ of the release date of the next version.
162
+
[Check this example commit](https://github.com/mage-os/github-actions/pull/262/files#diff-0655b3d6263a5375945b0a6bbab191703f8ee83f9535a48e2871d8afec4cb2fc)
163
+
and this screenshot to better understand what needs to be done:
0 commit comments