| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 04d02b5 commit 53cf714
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,7 +18,7 @@ function publishRepo { | |||
| 18 | 18 | cd $REPO_DIR && \ | |
| 19 | 19 | git init && \ | |
| 20 | 20 | git remote add origin $REPO_URL && \ | |
| 21 | - git fetch origin master && \ | ||
| 21 | + git fetch origin master --depth=1 && \ | ||
| 22 | 22 | git checkout origin/master && \ | |
| 23 | 23 | git checkout -b master | |
| 24 | 24 | ) | |
@@ -49,9 +49,8 @@ function publishRepo { | |||
| 49 | 49 | git config user.email "${COMMITTER_USER_EMAIL}" && \ | |
| 50 | 50 | git add --all && \ | |
| 51 | 51 | git commit -m "${COMMIT_MSG}" && \ | |
| 52 | - git push origin master && \ | ||
| 53 | 52 | git tag "${BUILD_VER}" && \ | |
| 54 | - git push origin --tags --force | ||
| 53 | + git push origin master --tags --force | ||
| 55 | 54 | ) | |
| 56 | 55 | } | |
| 57 | 56 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments