Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix bug in release script which prevented images from being pushed #327

Merged
merged 1 commit into from
Aug 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions bin/ci/build_and_publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,17 @@ echo "All tags for ${IMAGE_NAME}: ${tags[@]}"
# uses a Make target defined there.
#

# FIXME: this will not work with the changes to the Makefile. First, see if
# there is an existing release tool for python that will do this stuff for
# us so we don't have to maintain scripts everywhere. If not, then update
# this script to work properly with latest changes.
IMAGE_TAGS="${tags[@]}" make docker
echo "Building Image"

# First make the docker image based on the Makefile -- this will tag as :latest
make docker

echo "Generating Image Tags"

# Generate the desired tags off of the built latest image
for tag in "${tag[@]}"; do
docker tag ${IMAGE_NAME}:latest ${IMAGE_NAME}:${tag}
done

#
# Publish
Expand Down
2 changes: 1 addition & 1 deletion synse_server/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""

__title__ = 'synse_server'
__version__ = '3.0.0-alpha.3'
__version__ = '3.0.0-alpha.4'
__api_version__ = 'v3'
__description__ = 'An API to monitor and control physical and virtual devices.'
__author__ = 'Vapor IO'
Expand Down