Skip to content

Commit

Permalink
Fix versioning issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Robinson committed Oct 16, 2024
1 parent 9d787e7 commit ba56b33
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ venv
.pytest_cache
*.egg-info
.DS_Store
dist
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include requirements.txt
include VERSION
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.0.5
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from setuptools import setup
import os

VERSION = os.getenv("SEMVER", os.getenv("GitVersion_FullSemVer", "dev"))

with open("./VERSION") as version_file:
PINNED_VERSION=version_file.read().strip()

def get_long_description():
with open(
Expand All @@ -25,12 +26,14 @@ def get_long_description():
"Changelog": "https://github.com/CroudTech/croudtech-ecs-tools/releases",
},
license="Apache License, Version 2.0",
version=VERSION,
version=PINNED_VERSION,
packages=["croudtech_ecs_tools"],
entry_points="""
[console_scripts]
croudtech-ecs-tools=croudtech_ecs_tools.cli:cli
""",
setup_requires=["setuptools_scm"],
include_package_data=True,
install_requires=[
"boto3==1.20.28",
"botocore==1.23.28; python_version >= '3.6'",
Expand Down

0 comments on commit ba56b33

Please sign in to comment.