File tree Expand file tree Collapse file tree 3 files changed +17
-5
lines changed
Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -7,14 +7,14 @@ install:
77 - npm install
88deploy :
99 - provider : script
10- script : sh echo "### this is the env "; env | sort
10+ script : env | sort
1111 - provider : script
1212 skip_cleanup : true
1313 script : sh .travis/pu.sh
1414 on :
1515 tags : false
1616 node : 8
17- repo : Azure-Samples/react-aad-msal
17+ repo : Azure-Samples/react-aad-msal"
1818 # - provider: npm
1919 # email: github@cicoria.com
2020 # api_key:
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