File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 44 workflow_dispatch :
55 inputs :
66 dryRun :
7- description : ' Do a dry run instead of real release'
7+ description : ' Do a dry run to preview instead of a real release'
88 required : true
99 default : ' true'
1010
4040 uses : actions/setup-python@v2
4141 with :
4242 python-version : ' 3.8.x'
43- - name : Install boto3 for deployjs .python
43+ - name : Install boto3 for deploy_s3 .python
4444 run : pip install boto3==1.14.63
4545
4646 - name : Setup Node.js
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Test
33on : [push, pull_request]
44
55jobs :
6- build :
6+ test :
77 strategy :
88 fail-fast : false
99 matrix :
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ module.exports = {
1515 } ] ,
1616 [ "@semantic-release/exec" , {
1717 "prepareCmd" : "make release" ,
18- "publishCmd" : "python scripts/deployjs .py --version ${nextRelease.version}" ,
18+ "publishCmd" : "python scripts/deploy_s3 .py --version ${nextRelease.version}" ,
1919 "failCmd" : "npm unpublish amplitude-js@${nextRelease.version}"
2020 } ] ,
2121 [ "@semantic-release/github" , {
Original file line number Diff line number Diff line change 1+ # Script used by CI to upload snippets to S3
2+
13import argparse
24import os
35import sys
You can’t perform that action at this time.
0 commit comments