|
2 | 2 |
|
3 | 3 | This document simply outlines the release process: |
4 | 4 |
|
5 | | -1. Remove all `-dev` extension from versions (see below for all files) |
| 5 | +1. Run `mix certdata` to update the CA bundle |
6 | 6 |
|
7 | | -2. Ensure CHANGELOG is updated and add current date |
| 7 | +2. Remove all `-dev` extension from versions (see below for all files) |
8 | 8 |
|
9 | | -3. Update the local `scripts/release_hex.sh` with the Elixir and OTP versions Hex should be built against. |
| 9 | +3. Ensure CHANGELOG is updated and add current date |
10 | 10 |
|
11 | | -4. Commit changes above with title "Release vVERSION" and generate new tag |
| 11 | +4. Update the local `scripts/release_hex.sh` with the Elixir and OTP versions Hex should be built against. |
12 | 12 |
|
13 | | -5. Set branch latest to the new tag: `git switch latest && git merge --ff-only vVERSION && git switch -` |
| 13 | +5. Commit changes above with title "Release vVERSION" and generate new tag |
14 | 14 |
|
15 | | -6. Push main branch, latest branch and the new tag: `git push origin main latest --tags` |
| 15 | +6. Set branch latest to the new tag: `git switch latest && git merge --ff-only vVERSION && git switch -` |
16 | 16 |
|
17 | | -7. Create GitHub release |
| 17 | +7. Push main branch, latest branch and the new tag: `git push origin main latest --tags` |
18 | 18 |
|
19 | | -8. Run the `scripts/release_hex.sh` script and set the path to the private key for Elixir `ELIXIR_PEM=path/to/elixir.pem ./scripts/release_hex.sh VERSION` where `VERSION` is the Hex version being released without a `v` prefix |
| 19 | +8. Create GitHub release |
20 | 20 |
|
21 | | -9. Purge "installs" key on Fastly dashboard |
| 21 | +9. Run the `scripts/release_hex.sh` script and set the path to the private key for Elixir `ELIXIR_PEM=path/to/elixir.pem ./scripts/release_hex.sh VERSION` where `VERSION` is the Hex version being released without a `v` prefix |
22 | 22 |
|
23 | | -10. Increment version and add `-dev` extension to versions (see below for all files) |
| 23 | +10. Purge "installs" key on Fastly dashboard |
24 | 24 |
|
25 | | -11. Commit changes above with title "Bump to vVERSION-dev" |
| 25 | +11. Increment version and add `-dev` extension to versions (see below for all files) |
26 | 26 |
|
27 | | -12. Push main |
| 27 | +12. Commit changes above with title "Bump to vVERSION-dev" |
| 28 | + |
| 29 | +13. Push main |
28 | 30 |
|
29 | 31 | ## All builds |
30 | 32 |
|
|
0 commit comments