This repository was archived by the owner on Sep 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -73,9 +73,12 @@ function run {
73
73
git push -q origin master
74
74
git push -q origin v$VERSION
75
75
76
- echo " -- Version $VERSION pushed successfully to angular/bower-material!"
77
-
78
76
cd ../
77
+
78
+ echo " -- Cleanup..."
79
+ rm -rf bower-material/
80
+
81
+ echo " -- Version $VERSION pushed successfully to angular/bower-material!"
79
82
}
80
83
81
84
source $( dirname $0 ) /utils.inc
Original file line number Diff line number Diff line change @@ -32,14 +32,16 @@ function run {
32
32
commitAuthorName=$( git --no-pager show -s --format=' %an' HEAD)
33
33
commitAuthorEmail=$( git --no-pager show -s --format=' %ae' HEAD)
34
34
35
- cd code.material.angularjs.org
35
+ cd code.material.angularjs.org/
36
36
37
37
git config user.name " ${commitAuthorName} "
38
38
git config user.email " ${commitAuthorEmail} "
39
+ git config credential.helper " store --file .git/credentials"
39
40
# Disable CircleCI's forced use of SSH with GitHub
41
+ echo " -- Removing CircleCI's forced use of SSH..."
40
42
git config --global --unset url.ssh://
[email protected]
41
43
# GitHub personal access token with push permission specified as environment variable
42
- git config credential.helper " store --file=.git/ credentials"
44
+ echo " -- Storing credentials... "
43
45
echo " https://${ANGULARJS_MATERIAL_DOCS_SITE_TOKEN} :@github.com" > .git/credentials
44
46
45
47
echo " -- Committing snapshot..."
@@ -52,7 +54,7 @@ function run {
52
54
cd ../
53
55
54
56
echo " -- Cleanup..."
55
- rm -rf code.material.angularjs.org
57
+ rm -rf code.material.angularjs.org/
56
58
57
59
echo " -- Successfully pushed the snapshot to angular/code.material.angularjs.org!!"
58
60
}
You can’t perform that action at this time.
0 commit comments