]> git.ipfire.org Git - thirdparty/dracut.git/blame - docs/RELEASE.md
ci: remove label cron job
[thirdparty/dracut.git] / docs / RELEASE.md
CommitLineData
ebac18ba 1# Conducting A Successful Release
0b86c060
HH
2
3This documents contains the necessary steps to conduct a successful release.
4
51. Add all items to `NEWS.md`
6
7 Get a first template with [`clog`](https://github.com/clog-tool/clog-cli)
8 ```console
62f3a10d 9 $ clog -F -r https://github.com/dracutdevs/dracut
0b86c060
HH
10 ```
11
122. Update the contributors list in NEWS.md
13
14 Produce the list with:
15 ```console
16 $ make CONTRIBUTORS
17 ```
18
19 Append the list to the section in `NEWS.md`
20
213. Update AUTHORS
22
23 ```console
24 $ make AUTHORS
25 ```
26
274. Check in AUTHORS and NEWS.md
28
29 ```console
30 $ git ci -m "docs: update NEWS.md and AUTHORS" NEWS.md AUTHORS
31 ```
32
895c2f65 335. Tag the release and push
0b86c060
HH
34
35 ```console
36 $ VERSION=052
37 $ git tag -s "$VERSION"
895c2f65 38 $ git push --tags
0b86c060
HH
39 ```
40
41 Add the section from `NEWS.md` to the git tag message.
42
436. Push git to kernel.org
44
45 With:
46 ```console
47 $ git remote add kernelorg ssh://gitolite@ra.kernel.org/pub/scm/boot/dracut/dracut.git
48 ```
49
50 Push to kernel.org git:
51 ```console
62f3a10d 52 $ git push --atomic kernelorg master "$VERSION"
0b86c060
HH
53 ```
54
55
567. Sign and upload tarballs to kernel.org
57
58 ```console
59 $ make upload
60 ```
61
62 This requires `kup` and a kernel.org account.
895c2f65 63 Wait until the tarballs are synced to http://www.kernel.org/pub/linux/utils/boot/dracut/ .
0b86c060 64
895c2f65
HH
658. Create a new release on github (https://github.com/dracutdevs/dracut/releases/new)
66 - Add the section from `NEWS.md` to the release.
67 - Attach the tarballs and signature file from http://www.kernel.org/pub/linux/utils/boot/dracut/ to the github release.
0b86c060 68
895c2f65
HH
699. Close the github milestone and open a new one (https://github.com/dracutdevs/dracut/milestones)
7010. Ensure that announcement was sent and reached the linux-initramfs mailinglist (https://www.spinics.net/lists/linux-initramfs/)