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 6
6
install :
7
7
- npm install
8
8
deploy :
9
+ - provider : script
10
+ script : env | sort
9
11
- provider : script
10
12
skip_cleanup : true
11
13
script : sh .travis/pu.sh
Original file line number Diff line number Diff line change @@ -39,9 +39,21 @@ upload_files() {
39
39
# This pushes the new tag
40
40
git push --tags --dry-run
41
41
}
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
+
42
53
echo " ####### the env is..."
43
- env
54
+ env | sort | grep TRAVIS
44
55
echo " ####### end env"
56
+ check_release
45
57
setup_git
46
58
make_version
47
- upload_files
59
+ upload_files
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-aad-msal" ,
3
- "version" : " 0.3.13 " ,
3
+ "version" : " 0.3.15 " ,
4
4
"description" : " A react component that integrates with Azure AD (v2, MSAL)." ,
5
5
"private" : false ,
6
6
"license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments