File tree Expand file tree Collapse file tree 6 files changed +1298
-1600
lines changed Expand file tree Collapse file tree 6 files changed +1298
-1600
lines changed Original file line number Diff line number Diff line change 17
17
"tagAnnotation" : " Release ${version}" ,
18
18
"tagArgs" : [],
19
19
"push" : true ,
20
- "pushArgs" : [
21
- " --follow-tags"
22
- ],
20
+ "pushArgs" : [" --follow-tags" ],
23
21
"pushRepo" : " " ,
24
22
"changelog" : " git log --pretty=format:\" * %s (%h) by %an on %as\" ${from}...${to}"
25
23
},
40
38
},
41
39
"plugins" : {
42
40
"@release-it/bumper" : {
43
- "in" : " VERSION " ,
44
- "out" : " VERSION "
41
+ "in" : " pyproject.toml " ,
42
+ "out" : { "file" : " pyproject.toml " , "path" : " project.version " }
45
43
}
44
+ },
45
+ "hooks" : {
46
+ "after:bump" : " uv sync"
46
47
}
47
48
}
Original file line number Diff line number Diff line change @@ -3,9 +3,5 @@ approvers:
3
3
- myakove
4
4
reviewers:
5
5
- rnetser
6
- - omrirh
7
- - ILpinto
8
6
- myakove
9
- - chetna14manku
10
- - rujutashinde
11
7
- dbasunag
Original file line number Diff line number Diff line change @@ -5,26 +5,27 @@ A utilities repository for [openshift-restclient-python](https://github.com/open
5
5
6
6
## Release new version
7
7
8
- ### requirements:
8
+ ### requirements
9
9
10
- * Export GitHub token
10
+ - Export GitHub token
11
11
12
12
``` bash
13
13
export GITHUB_TOKEN=< your_github_token>
14
14
```
15
15
16
- * [ release-it] ( https://github.com/release-it/release-it )
16
+ - [ release-it] ( https://github.com/release-it/release-it )
17
17
18
18
Run the following once (execute outside repository dir for example ` ~/ ` ):
19
19
20
20
``` bash
21
21
sudo npm install --global release-it
22
22
npm install --save-dev @release-it/bumper
23
23
```
24
- ### usage:
25
24
26
- * Create a release, run from the relevant branch.
27
- To create a 4.11 release, run:
25
+ ### usage
26
+
27
+ - Create a release, run from the relevant branch.
28
+ To create a 4.11 release, run:
28
29
29
30
``` bash
30
31
git checkout v4.11
@@ -34,12 +35,12 @@ release-it # Follow the instructions
34
35
35
36
## Installation
36
37
37
- From source using [ poetry ] ( https://github.com/python-poetry/poetry ) .
38
+ From source using [ uv ] ( https://github.com/astral-sh/uv ) .
38
39
39
40
```
40
41
git clone https://github.com/RedHatQE/openshift-python-utilities.git
41
42
cd openshift-python-utilities
42
- poetry install
43
+ uv sync
43
44
```
44
45
45
46
## Examples
You can’t perform that action at this time.
0 commit comments