Skip to content

Commit dc8dfd9

Browse files
committed
We checkout a single file so checkout master is not enough, we need to
reset all the files (notably pack.yaml) to master.
1 parent c88ec09 commit dc8dfd9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.circle/deployment

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ done
5454
# Afer pushing the version, make sure we check out the latest commit
5555
# This is important so index reflects latest changes
5656
git checkout master
57+
git reset --hard master
58+
59+
# Verify there are no unstaged changes
60+
git status
5761

5862
# Rebuild pack index directory
5963
~/virtualenv/bin/python ~/ci/utils/pack_content.py --input . --output ~/index/v1/packs/"${PACK_NAME}"

0 commit comments

Comments
 (0)