Commit Graph

68 Commits

Author SHA1 Message Date
Mikhail f. Shiryaev
d984a80b57
Create tag in dry-run to check the order of commands 2024-06-10 14:38:40 +02:00
Mikhail f. Shiryaev
3d07f72927
Create tags v{version}-new for new releases 2024-06-10 14:38:40 +02:00
Mikhail f. Shiryaev
43b0866ed6
Make Release._create_tag more flexible 2024-06-10 14:38:39 +02:00
Mikhail f. Shiryaev
d506220f8c
Fix possible issues in Release._checkout 2024-06-10 14:38:39 +02:00
Mikhail f. Shiryaev
0cd1cf6533
Do not require "Ready for release" status for new release 2024-06-10 14:38:39 +02:00
Mikhail f. Shiryaev
803a52ba94
Do not create new release in release branch automatically 2024-05-17 14:50:34 +02:00
Mikhail f. Shiryaev
2ba5b7fd23
Refactor labels in CI, move them to shared package 2024-04-24 17:31:14 +02:00
Alexey Milovidov
a6356c120a Add more documentation to the release script 2024-04-03 09:22:01 +02:00
Mikhail f. Shiryaev
91cff01ce0
More fixes in tests/ci 2024-03-05 16:02:41 +01:00
Mikhail f. Shiryaev
13948cbb20
Use constants from report instead of string literals 2024-02-06 15:02:09 +01:00
Mikhail f. Shiryaev
7ab571f0f0
Add ClickHouseVersion.is_lts 2024-01-11 11:42:59 +01:00
Mikhail f. Shiryaev
a2a3783366
Small renaming to reflect the current release process 2024-01-08 15:31:59 +01:00
Mikhail f. Shiryaev
fe19f45974
Simplify --type argument for release.py 2024-01-08 15:31:58 +01:00
Mikhail f. Shiryaev
2232663216
Insignificant typing improvements 2024-01-08 15:31:57 +01:00
Mikhail f. Shiryaev
dd7aca4d69
Revert "Fix an error in the release script - it didn't allow to make 23.12." 2023-12-30 18:35:42 +01:00
Alexey Milovidov
9d1e124102 Let me do the release 2023-12-28 11:21:58 +01:00
János Benjamin Antal
6df371754d Fix typos in release.py 2023-09-14 10:54:17 +00:00
Mikhail f. Shiryaev
5b6e581c1a
Preset description on the tweak reset 2023-02-27 14:20:34 +01:00
Mikhail f. Shiryaev
6fa16b7828
Add check that major is not issued in the middle of a year 2023-02-24 12:36:47 +01:00
Mikhail f. Shiryaev
ad7ec74009
Make autogenerated version independent from tweak by default 2023-02-24 12:36:46 +01:00
Mikhail f. Shiryaev
9c7fc29778
Add dedicated key for checking launching release.py from master 2023-02-20 11:16:08 +01:00
Mikhail f. Shiryaev
d39cffb3f2
Add rollback commands for the case of broad error 2023-02-20 11:16:07 +01:00
Mikhail f. Shiryaev
fecadfab3e
Do not fetch submodules in release.py 2023-02-15 16:05:07 +01:00
Mikhail f. Shiryaev
975b3a2de8
Suppress the stderr of running commands by default 2023-01-26 15:24:38 +01:00
Mikhail f. Shiryaev
cc691c30af
Delete --no-release-branch argument, move creating release to the end 2023-01-26 15:24:37 +01:00
Mikhail f. Shiryaev
398b215556
Make Release._create_tag independent on checked out ref 2023-01-26 15:24:37 +01:00
Mikhail f. Shiryaev
81d419e4a2
Add --dry-run option for release.py 2023-01-26 15:24:36 +01:00
Mikhail f. Shiryaev
1ec9b60c27
Add fail on new minor versions>=13 2023-01-26 15:24:36 +01:00
Mikhail f. Shiryaev
bf3b497d22
Always update version and _git after new checkout 2023-01-26 15:24:35 +01:00
Mikhail f. Shiryaev
5b45360c89
Prefetch tags at the release time 2023-01-09 21:18:35 +01:00
Mikhail f. Shiryaev
3907b64d09
Get rid of global Git object 2022-12-15 17:43:48 +01:00
Mikhail f. Shiryaev
820d362466
Assign the new-version PR to the author, add "do not test" 2022-12-08 20:55:50 +01:00
Mikhail f. Shiryaev
7356d48f67
Get rid of PyGithub dependency 2022-12-02 18:58:46 +01:00
Mikhail f. Shiryaev
ed4db129f4
Reduce dependencies from unidiff 2022-12-02 18:27:36 +01:00
Mikhail f. Shiryaev
4fc5bb7a63
Fix release.py typing issue 2022-11-29 14:12:21 +01:00
Mikhail f. Shiryaev
c12c1cdf9b
Allow release only from ready commits 2022-11-10 12:42:33 +01:00
Mikhail f. Shiryaev
ff083e1b55
Forbit launching release.py from branches but master 2022-11-08 12:21:12 +01:00
Mikhail f. Shiryaev
45cde6545d
Add a warning message to release.py script, require release type 2022-09-30 16:22:25 +02:00
Mikhail f. Shiryaev
0d1c31a869
Merge branch 'master' into release-tweak-generate 2022-08-04 21:33:54 +02:00
Mikhail f. Shiryaev
8919fd6e58
Add handful notes to a post-release logging 2022-08-04 00:40:32 +02:00
Mikhail f. Shiryaev
ff26492830
Prevent spoiling rollback_stack 2022-08-04 00:24:43 +02:00
Mikhail f. Shiryaev
62a05dc10d
Add instructions for github-cli installation 2022-08-03 13:40:31 +02:00
Mikhail f. Shiryaev
d100fac7ab
Use checkout -f preventing some potential issues 2022-07-20 17:29:34 +02:00
Mikhail f. Shiryaev
3d0e4c56e2
Fix prefetch release branch 2022-05-19 10:05:34 +02:00
Mikhail f. Shiryaev
c6e2dd1c43
Create release without draft step 2022-05-18 14:34:41 +02:00
Mikhail f. Shiryaev
1c11823935
Get rid of intermediate prestable release 2022-05-18 14:34:40 +02:00
Mikhail f. Shiryaev
b93a4e2da3
Minor improvements on variables and comments 2022-05-18 14:34:40 +02:00
Mikhail f. Shiryaev
3b1c858bff
Rollback prestable part on failed testing 2022-05-18 14:34:38 +02:00
Mikhail f. Shiryaev
6cedd2f671
Catch all Exceptions in context managers 2022-05-18 14:32:49 +02:00
Mikhail f. Shiryaev
0a131b41ea
Improve release.py
- Improve check-dirty
- Prefetch target branches
- Prefetch release commit
- Simplify check_branch
2022-04-28 16:55:02 +02:00