Commit Graph

52 Commits

Author SHA1 Message Date
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
Mikhail f. Shiryaev
2dfdbe0afa
Update contributors each release 2022-04-21 20:10:12 +02:00
Mikhail f. Shiryaev
c65c832edb
Adjust git_helper and version_helper for shallow clone 2022-04-21 20:08:55 +02:00
Mikhail f. Shiryaev
d593fda8d5
Fix logic for --no-prestable 2022-03-17 16:50:20 +01:00
vdimir
9032cc6c3d
Fix stylecheck for tests/ci/release.py 2022-02-25 11:17:45 +00:00
vdimir
5c38203f7d
Argument --commit for release.py is required 2022-02-25 11:06:58 +00:00
vdimir
ef3cbdcf6a
Add check_prerequisites to release.py 2022-02-25 10:53:21 +00:00
Mikhail f. Shiryaev
dd180b83a8
Improve --no-* parameters for scripts 2022-02-22 11:40:39 +01:00
Mikhail f. Shiryaev
f0c7a7017f
Review points: update -> read_version, comment in _create_gh_label 2022-02-22 11:32:05 +01:00
Mikhail f. Shiryaev
d2cbc5af40
Add patch type for stable/lts releases 2022-02-19 00:13:07 +01:00
Mikhail f. Shiryaev
df9165bbff
Refactoring of Release, add Repo
- Do not pass Namespace to Release.do
- Decouple repository to another class
2022-02-19 00:13:00 +01:00
Mikhail f. Shiryaev
0960fbad52
Set selease_branch only once as Release property 2022-02-19 00:10:21 +01:00
Mikhail f. Shiryaev
0f1565a3a2
Clean-up the code a little bit 2022-02-19 00:01:39 +01:00
Mikhail f. Shiryaev
0c41564b27
Add the rollback command logging on success run 2022-02-16 20:51:28 +01:00
Mikhail f. Shiryaev
015c0ab611
Solve the issue with wrong initial version 2022-02-16 17:46:43 +01:00
Mikhail f. Shiryaev
b2f3a4ccab
Fix issues with labeling 2022-02-16 17:42:44 +01:00
Mikhail f. Shiryaev
00c8d74878
Reorder Release class 2022-02-16 15:59:51 +01:00