Skip to content

Commit f8b1b1d

Browse files
Develop (#54)
fixes #51, #53
1 parent c9b10e7 commit f8b1b1d

File tree

6 files changed

+73
-7
lines changed

6 files changed

+73
-7
lines changed

.github/workflows/develop.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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

.github/workflows/user-doc.yml renamed to .github/workflows/master_pr_closed.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
name: User Documentation
1+
name: Master PR Closed Workflow
22
on:
3-
push:
3+
pull_request:
4+
types:
5+
- closed
46
branches:
57
- master
68

79
jobs:
8-
deploy:
10+
doc_gen:
11+
name: Generate User Documentation
12+
if: github.event.pull_request.merged == true
913
runs-on: ubuntu-latest
1014
steps:
1115
- uses: actions/checkout@v3

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
<!-- towncrier release notes start -->
44

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+
518
## [1.0.0-rc.3](https://github.com/Nagidal/hatch-semver/tree/1.0.0-rc.3) - 2022-11-16
619

720

docs/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
<!-- towncrier release notes start -->
44

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+
518
## [1.0.0-rc.3](https://github.com/Nagidal/hatch-semver/tree/1.0.0-rc.3) - 2022-11-16
619

720

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,8 @@ userve = [
111111
tc = [
112112
"towncrier build --yes",
113113
"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\""
117116
]
118117

119118
[[tool.hatch.envs.test.matrix]]

src/hatch_semver/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
__maintainer__ = __author__
99
__maintainer_email__ = __author_email__
1010
__release_date__ = date(year=2022, month=11, day=13)
11-
__version__ = "1.0.0-rc.3"
11+
__version__ = "1.0.0-rc.4"

0 commit comments

Comments
 (0)