This repository was archived by the owner on Apr 30, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 29
29
"code-checks" : " eslint src/" ,
30
30
"commit" : " git-cz" ,
31
31
"publish:latest" : " with-package scripts/publish-latest.sh pkg.version" ,
32
- "semantic-release" : " semantic-release pre && npm run build && npm publish && npm run publish:latest && semantic-release post "
32
+ "semantic-release" : " semantic-release pre && npm run build && npm run publish:latest"
33
33
},
34
34
"betterScripts" : {
35
35
"build:dist" : {
137
137
"czConfig" : {
138
138
"path" : " node_modules/cz-conventional-changelog"
139
139
}
140
- }
140
+ }
Original file line number Diff line number Diff line change @@ -7,18 +7,23 @@ echo "setting global bot config"
7
7
git config --global user.email
[email protected]
8
8
git config --global user.name formly-bot
9
9
10
- echo " setting remote"
11
- git remote set-url origin https://formly-bot:$BOT_GH_TOKEN @github.com/formly-js/angular-formly.git > /dev/null 2> /dev/null
12
-
13
- echo " merging master"
14
- git merge origin/master -m " master merge" -X theirs
15
-
16
10
echo " adding dist"
17
11
git add dist package.json
18
12
19
13
echo " committing with $F_VERSION "
20
14
git commit -m v$F_VERSION --no-verify
21
15
16
+ echo " setting remote"
17
+ git remote set-url origin https://formly-bot:$BOT_GH_TOKEN @github.com/formly-js/angular-formly.git > /dev/null 2> /dev/null
18
+
19
+ echo " checking out latest"
20
+ git remote set-branches --add origin latest # required because travis clones with --branch=master
21
+ git fetch origin
22
+ git checkout latest
23
+
24
+ echo " merging master"
25
+ git merge master -m " master merge" -X theirs
26
+
22
27
echo " pushing"
23
28
git push origin HEAD:latest -f > /dev/null 2> /dev/null
24
29
You can’t perform that action at this time.
0 commit comments