Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
dryRun:
description: 'Do a dry run instead of real release'
description: 'Do a dry run to preview instead of a real release'
required: true
default: 'true'

Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: '3.8.x'
- name: Install boto3 for deployjs.python
- name: Install boto3 for deploy_s3.python
run: pip install boto3==1.14.63

- name: Setup Node.js
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test
on: [push, pull_request]

jobs:
build:
test:
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {
}],
["@semantic-release/exec", {
"prepareCmd": "make release",
"publishCmd": "python scripts/deployjs.py --version ${nextRelease.version}",
"publishCmd": "python scripts/deploy_s3.py --version ${nextRelease.version}",
"failCmd": "npm unpublish amplitude-js@${nextRelease.version}"
}],
["@semantic-release/github", {
Expand Down
2 changes: 2 additions & 0 deletions scripts/deploy_s3.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Script used by CI to upload snippets to S3

import argparse
import os
import sys
Expand Down