Commit
·
cae8b8d
1
Parent(s):
8e3d125
Sync git after upload
Browse files- release.sh +4 -0
release.sh
CHANGED
|
@@ -71,6 +71,10 @@ huggingface-cli upload \
|
|
| 71 |
--include "*" \
|
| 72 |
--commit-message "$COMMIT_MSG" \
|
| 73 |
--commit-description "$COMMIT_DESC"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
# 6. Check results
|
| 76 |
echo "\n\n\n" # Add some newlines for readability
|
|
|
|
| 71 |
--include "*" \
|
| 72 |
--commit-message "$COMMIT_MSG" \
|
| 73 |
--commit-description "$COMMIT_DESC"
|
| 74 |
+
# also push tags
|
| 75 |
+
git push --tags
|
| 76 |
+
# and fetch the artifacts branch
|
| 77 |
+
git fetch origin $DEPLOY_BRANCH:$DEPLOY_BRANCH
|
| 78 |
|
| 79 |
# 6. Check results
|
| 80 |
echo "\n\n\n" # Add some newlines for readability
|