Skip to content

Commit

Permalink
stop mucking with 1.2.latest images, just use release version
Browse files Browse the repository at this point in the history
  • Loading branch information
o-smirnov committed Mar 1, 2023
1 parent 8e4d13a commit bc6b947
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions radiopadre_client/default_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@
# * Make a release branch (e.g. b1.2.0)
# * Update version in setup.py
# * Update client version in Dockerfile
# * Commit and push
# * Commit and push, wait for github action to make docker image
#
#
# Next, radiopadre
# Test -V and -S and -D mode (--update --vent-reinstall)

# change this to a proper patch release number for a real release
__version__ = "1.2.0"
Expand All @@ -46,11 +47,12 @@
__install_from_branch__ = f"b{__version__}"
__version_string__ = __version__

# release x.y.z pulls x.y.latest image
if __release__:
__image_version__ = ".".join([__release__.group(1), __release__.group(2), "latest"])
else:
__image_version__ = __version__
## OMS: retiring this logic. One image per release!
# # release x.y.z pulls x.y.latest image
# if __release__:
# __image_version__ = ".".join([__release__.group(1), __release__.group(2), "latest"])
# else:
__image_version__ = __version__

# set CARTA version inside container image
if __version__ >= "1.2":
Expand Down

0 comments on commit bc6b947

Please sign in to comment.