File tree Expand file tree Collapse file tree 6 files changed +73
-7
lines changed Expand file tree Collapse file tree 6 files changed +73
-7
lines changed Original file line number Diff line number Diff line change
1
+ name : Develop Workflow
2
+ on :
3
+ push :
4
+ branches :
5
+ - develop
6
+
7
+ jobs :
8
+ test :
9
+ strategy :
10
+ matrix :
11
+ python-version :
12
+ - " 3.9"
13
+ - " 3.10"
14
+ - " 3.11"
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - name : Checkout repository
18
+ uses : actions/checkout@v3
19
+ - name : Set up python
20
+ uses : actions/setup-python@v4
21
+ with :
22
+ python-version : ${{ matrix.python-version }}
23
+ - name : Install dependencies
24
+ run : |
25
+ python -m pip install --upgrade pip
26
+ pip install wheel
27
+ pip install hatch pytest pytest-cov
28
+ pip install .
29
+ - name : Test with pytest
30
+ run : |
31
+ pytest -v --cov-report= --cov=hatch_semver tests/
32
+ coverage-finish :
33
+ needs : test
34
+ runs-on : ubuntu-latest
35
+ name : Finish coverage
36
+ steps :
37
+ - run : echo Test was OK
Original file line number Diff line number Diff line change 1
- name : User Documentation
1
+ name : Master PR Closed Workflow
2
2
on :
3
- push :
3
+ pull_request :
4
+ types :
5
+ - closed
4
6
branches :
5
7
- master
6
8
7
9
jobs :
8
- deploy :
10
+ doc_gen :
11
+ name : Generate User Documentation
12
+ if : github.event.pull_request.merged == true
9
13
runs-on : ubuntu-latest
10
14
steps :
11
15
- uses : actions/checkout@v3
Original file line number Diff line number Diff line change 2
2
3
3
<!-- towncrier release notes start -->
4
4
5
+ ## [ 1.0.0-rc.4] ( https://github.com/Nagidal/hatch-semver/tree/1.0.0-rc.4 ) - 2022-11-16
6
+
7
+
8
+ ### Documentation
9
+
10
+ - Renamed User Documentation Workflow to Master PR Closed [ #53 ] ( https://github.com/Nagidal/hatch-semver/issues/53 )
11
+
12
+
13
+ ### Development Details
14
+
15
+ - Test stage is set up [ #51 ] ( https://github.com/Nagidal/hatch-semver/issues/51 )
16
+
17
+
5
18
## [ 1.0.0-rc.3] ( https://github.com/Nagidal/hatch-semver/tree/1.0.0-rc.3 ) - 2022-11-16
6
19
7
20
Original file line number Diff line number Diff line change 2
2
3
3
<!-- towncrier release notes start -->
4
4
5
+ ## [ 1.0.0-rc.4] ( https://github.com/Nagidal/hatch-semver/tree/1.0.0-rc.4 ) - 2022-11-16
6
+
7
+
8
+ ### Documentation
9
+
10
+ - Renamed User Documentation Workflow to Master PR Closed [ #53 ] ( https://github.com/Nagidal/hatch-semver/issues/53 )
11
+
12
+
13
+ ### Development Details
14
+
15
+ - Test stage is set up [ #51 ] ( https://github.com/Nagidal/hatch-semver/issues/51 )
16
+
17
+
5
18
## [ 1.0.0-rc.3] ( https://github.com/Nagidal/hatch-semver/tree/1.0.0-rc.3 ) - 2022-11-16
6
19
7
20
Original file line number Diff line number Diff line change @@ -111,9 +111,8 @@ userve = [
111
111
tc = [
112
112
" towncrier build --yes" ,
113
113
" Copy-Item -path ./CHANGELOG.md -destination ./docs -force" ,
114
- " git add CHANGELOG.md" ,
115
- " git add docs/CHANGELOG.md" ,
116
- " git commit -m \" updated changelog\" "
114
+ " git add --update" ,
115
+ " git commit --message \" updated changelog\" "
117
116
]
118
117
119
118
[[tool .hatch .envs .test .matrix ]]
Original file line number Diff line number Diff line change 8
8
__maintainer__ = __author__
9
9
__maintainer_email__ = __author_email__
10
10
__release_date__ = date (year = 2022 , month = 11 , day = 13 )
11
- __version__ = "1.0.0-rc.3 "
11
+ __version__ = "1.0.0-rc.4 "
You can’t perform that action at this time.
0 commit comments