Skip to content

Commit 2eccc77

Browse files
committed
Update the version number
1 parent 05f4ad3 commit 2eccc77

File tree

2 files changed

+2
-21
lines changed

2 files changed

+2
-21
lines changed

airsspy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@
2424
from .seed import SeedAtoms
2525
from .build import Buildcell
2626

27-
__version__ = '0.1.1'
27+
__version__ = '0.1.3'

setup.py

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -20,31 +20,12 @@
2020
###########################################################################
2121

2222
from setuptools import setup, find_packages
23-
version = '0.1.2'
23+
version = '0.1.3'
2424

2525
if __name__ == '__main__':
2626
from os import path
2727
import os
2828

29-
# Check if in a CI environment
30-
is_tagged = False
31-
if os.environ.get('CI_COMMIT_TAG'):
32-
ci_version = os.environ['CI_COMMIT_TAG']
33-
is_tagged = True
34-
elif os.environ.get('CI_JOB_ID'):
35-
ci_version = os.environ['CI_JOB_ID']
36-
else:
37-
# Note in CI
38-
ci_version = None
39-
40-
# If in a CI environment, set the version accordingly
41-
if ci_version:
42-
# If this a release, check the consistency
43-
if is_tagged:
44-
assert ci_version == version, 'Inonsistency between versions'
45-
else:
46-
version = ci_version
47-
4829
README_PATH = path.join(path.dirname(__file__), "README.md")
4930
with open(README_PATH) as fh:
5031
long_description = fh.read()

0 commit comments

Comments
 (0)