File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 66install :
77 - npm install
88deploy :
9+ - provider : script
10+ script : env | sort
911 - provider : script
1012 skip_cleanup : true
1113 script : sh .travis/pu.sh
Original file line number Diff line number Diff line change @@ -39,9 +39,21 @@ upload_files() {
3939 # This pushes the new tag
4040 git push --tags --dry-run
4141}
42+
43+ check_release () {
44+ if [ " ${TRAVIS_PULL_REQUEST} " != " false" ]; then
45+ echo " this IS a PR to deploy"
46+ echo " script will continue..."
47+ else
48+ echo " this is NOT a PR"
49+ exit 0
50+ fi
51+ }
52+
4253echo " ####### the env is..."
43- env
54+ env | sort | grep TRAVIS
4455echo " ####### end env"
56+ check_release
4557setup_git
4658make_version
47- upload_files
59+ upload_files
Original file line number Diff line number Diff line change 11{
22 "name" : " react-aad-msal" ,
3- "version" : " 0.3.13 " ,
3+ "version" : " 0.3.15 " ,
44 "description" : " A react component that integrates with Azure AD (v2, MSAL)." ,
55 "private" : false ,
66 "license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments