Skip to content
Permalink
Browse files

Small publish script cleanup

Test Plan: na

Reviewers: alangenfeld, max

Reviewed By: max

Differential Revision: https://dagster.phacility.com/D776
  • Loading branch information...
natekupp committed Aug 7, 2019
1 parent 890f88a commit 306d806022e3c47e1e83f7de5b1fc1529d64bcca
Showing with 4 additions and 10 deletions.
  1. +4 −7 bin/publish.py
  2. +0 −3 examples/dagster_examples/gcp_data_platform/version.py
@@ -266,17 +266,14 @@ def get_versions():

def check_versions_equal(nightly=False):
module_versions = get_versions()

source = '__nightly__' if nightly else '__version__'

assert all_equal(
[module_version['__version__'] for module_version in module_versions.values()]
[module_version[source] for module_version in module_versions.values()]
), 'Module versions must be in lockstep to release. Found:\n{versions}'.format(
versions=format_module_versions(module_versions)
)
if nightly:
assert all_equal(
[module_version['__nightly__'] for module_version in module_versions.values()]
), 'Module versions must be in lockstep to release. Found:\n{versions}'.format(
versions=format_module_versions(module_versions)
)
return module_versions[MODULE_NAMES[0]]


This file was deleted.

0 comments on commit 306d806

Please sign in to comment.
You can’t perform that action at this time.