Skip to content

Commit b9fd835

Browse files
author
KC3ZVD
committed
feat: update version file
1 parent 67e7762 commit b9fd835

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Diff for: .github/workflows/build.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
- id: install-hatch
1919
run: pip install hatch
2020
- id: bump-version
21-
run: export NEW_VERSION=`hatch run ci:bump-version`
22-
- id: version-check
23-
run: env
21+
run: echo '__version__ = "`hatch run ci:bump-version`"' >> ./src/kc3zvd/iot_state/__about__.py
22+
- id: check-version
23+
run: cat ./src/kc3zvd/iot_state/__about__.py
24+
outputs:
25+
version: ${{ steps.bump-version.outputs.version }}
26+

Diff for: hatch.toml

-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ bump-version = "python build/bump_version.py"
1515
worker = "celery -A kc3zvd.iot_state.workers.wled worker"
1616
listener = "python -m kc3zvd.iot_state.listeners.wled"
1717

18-
[envs.ci]
19-
2018
[envs.dev]
2119

2220
[envs.dev.scripts]

0 commit comments

Comments
 (0)