We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04d02b5 commit 53cf714Copy full SHA for 53cf714
1 file changed
scripts/publish/publish-build-artifacts.sh
@@ -18,7 +18,7 @@ function publishRepo {
18
cd $REPO_DIR && \
19
git init && \
20
git remote add origin $REPO_URL && \
21
- git fetch origin master && \
+ git fetch origin master --depth=1 && \
22
git checkout origin/master && \
23
git checkout -b master
24
)
@@ -49,9 +49,8 @@ function publishRepo {
49
git config user.email "${COMMITTER_USER_EMAIL}" && \
50
git add --all && \
51
git commit -m "${COMMIT_MSG}" && \
52
- git push origin master && \
53
git tag "${BUILD_VER}" && \
54
- git push origin --tags --force
+ git push origin master --tags --force
55
56
}
57
0 commit comments