File tree 4 files changed +6
-4
lines changed
4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 4
4
workflow_dispatch :
5
5
inputs :
6
6
dryRun :
7
- description : ' Do a dry run instead of real release'
7
+ description : ' Do a dry run to preview instead of a real release'
8
8
required : true
9
9
default : ' true'
10
10
40
40
uses : actions/setup-python@v2
41
41
with :
42
42
python-version : ' 3.8.x'
43
- - name : Install boto3 for deployjs .python
43
+ - name : Install boto3 for deploy_s3 .python
44
44
run : pip install boto3==1.14.63
45
45
46
46
- name : Setup Node.js
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Test
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- build :
6
+ test :
7
7
strategy :
8
8
fail-fast : false
9
9
matrix :
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ module.exports = {
15
15
} ] ,
16
16
[ "@semantic-release/exec" , {
17
17
"prepareCmd" : "make release" ,
18
- "publishCmd" : "python scripts/deployjs .py --version ${nextRelease.version}" ,
18
+ "publishCmd" : "python scripts/deploy_s3 .py --version ${nextRelease.version}" ,
19
19
"failCmd" : "npm unpublish amplitude-js@${nextRelease.version}"
20
20
} ] ,
21
21
[ "@semantic-release/github" , {
Original file line number Diff line number Diff line change
1
+ # Script used by CI to upload snippets to S3
2
+
1
3
import argparse
2
4
import os
3
5
import sys
You can’t perform that action at this time.
0 commit comments