This repository was archived by the owner on Apr 30, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-30
lines changed Expand file tree Collapse file tree 3 files changed +3
-30
lines changed Original file line number Diff line number Diff line change 28
28
"report-coverage" : " cat ./coverage/lcov.info | node_modules/.bin/codecov" ,
29
29
"code-checks" : " eslint src/" ,
30
30
"commit" : " git-cz" ,
31
- "prepublish:latest" : " node scripts/authorize-push.js" ,
32
31
"publish:latest" : " with-package scripts/publish-latest.sh pkg.version" ,
33
32
"semantic-release" : " semantic-release pre && npm run build && npm publish && semantic-release post && npm run publish:latest"
34
33
},
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
set -e # exit with non-zero exit code if there are failures
3
3
4
4
F_VERSION=$1
5
-
6
- echo " shoing origin"
7
- git remote show origin
8
-
9
- echo " updating"
10
- git remote update
11
-
12
- echo " fetching"
13
- git fetch
14
-
15
- echo " checking out"
16
- git checkout -b latest
5
+ GH_REF=https://formly-bot:${BOT_GH_TOKEN} @github.com/formly-js/angular-formly.git
17
6
18
7
echo " mergin master"
19
- git merge origin /master -m " master merge" -X theirs
8
+ git merge $GH_REF /master -m " master merge" -X theirs > /dev/null 2> /dev/null
20
9
21
10
echo " adding dist"
22
11
git add dist package.json
@@ -28,7 +17,7 @@ echo "tagging with v$F_VERSION"
28
17
git tag v${F_VERSION} -f
29
18
30
19
echo " pushing"
31
- git push https://formly-bot: ${BOT_GH_TOKEN} @github.com/formly-js/angular-formly.git latest --tags -f
20
+ git push $GH_REF latest --tags -f > /dev/null 2> /dev/null
32
21
33
22
echo " done!"
34
23
You can’t perform that action at this time.
0 commit comments