Skip to content

Commit 36b6998

Browse files
authored
Merge pull request #12 from nassauwinter/check_version_before_pypi
Check version before pypi
2 parents 35c37fe + 44b9846 commit 36b6998

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

.github/workflows/build_and_load_to_pypi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Building artifacts and load them to PYPI index
22
on:
33
push:
44
branches: [ main ]
5+
paths:
6+
- 'VERSION.txt'
57

68
jobs:
79
Build_release:

.github/workflows/pr_checks.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: PR checks
22
on:
33
pull_request:
44
branches: [ main, dev ]
5+
paths:
6+
- 'zephyr/**'
57
push:
68
branches: [ dev ]
79

VERSION.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.0.3

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = zephyr-python-api
3-
version = 0.0.3
3+
version = file: VERSION.txt
44
author = Petr Sharapenko
55
author_email = nassauwinter@gmail.com
66
description = Zephyr (TM4J) Python REST API wrapper

0 commit comments

Comments
 (0)