Skip to content

Commit ce49aba

Browse files
authored
Merge pull request #73 from StackStorm-Exchange/fix_index_bug
Fix index bug
2 parents 437688f + dc8dfd9 commit ce49aba

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.circle/deployment

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ do
5151
fi
5252
done
5353

54+
# Afer pushing the version, make sure we check out the latest commit
55+
# This is important so index reflects latest changes
56+
git checkout master
57+
git reset --hard master
58+
59+
# Verify there are no unstaged changes
60+
git status
61+
5462
# Rebuild pack index directory
5563
~/virtualenv/bin/python ~/ci/utils/pack_content.py --input . --output ~/index/v1/packs/"${PACK_NAME}"
5664

.circle/semver.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,5 @@ def get_semver_string(version):
3434
raise ValueError("Cannot convert %s to semver." % version)
3535

3636
if __name__ == '__main__':
37-
3837
pack = validate.load_yaml_file(sys.argv[1])
39-
print get_semver_string(pack['version'])
38+
print(get_semver_string(pack['version']))

0 commit comments

Comments
 (0)