Skip to content

Commit 126d78a

Browse files
committed
Remove package.json.
1 parent 3d1ee98 commit 126d78a

File tree

6 files changed

+10
-83
lines changed

6 files changed

+10
-83
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v2
16-
- name: Set up Python 3.7
16+
- name: Set up Python 3.8
1717
uses: actions/setup-python@v1
1818
with:
19-
python-version: 3.7
19+
python-version: 3.8
2020
- name: Install dependencies
2121
run: |
2222
python -m pip install --upgrade pip

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v2
13-
- name: Set up Python 3.7
13+
- name: Set up Python 3.8
1414
uses: actions/setup-python@v1
1515
with:
16-
python-version: 3.7
16+
python-version: 3.8
1717
- name: Set env
1818
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:11})
1919
- name: Package project

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@
4545
}
4646
},
4747
"short_name": "Tide",
48-
"version": "0.4.1"
48+
"version": "0.4.2"
4949
}

package.json

Lines changed: 0 additions & 73 deletions
This file was deleted.

package.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash -e
22

3-
version=$(grep version package.json | cut -d: -f2 | cut -d\" -f2)
3+
version=$(grep '"version"' manifest.json | cut -d: -f2 | cut -d\" -f2)
44

55
# Clean up from previous releases
66
rm -rf *.tgz package SHA256SUMS lib
@@ -9,10 +9,10 @@ rm -rf *.tgz package SHA256SUMS lib
99
mkdir lib package
1010

1111
# Pull down Python dependencies
12-
pip3 install -r requirements.txt -t lib --no-binary pytz,requests --prefix ""
12+
pip3 install -r requirements.txt -t lib --no-binary :all: --prefix ""
1313

1414
# Put package together
15-
cp -r lib pkg LICENSE manifest.json package.json *.py README.md package/
15+
cp -r lib pkg LICENSE manifest.json *.py README.md package/
1616
find package -type f -name '*.pyc' -delete
1717
find package -type d -empty -delete
1818

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
pytz==2019.3
2-
requests==2.23.0
1+
pytz==2020.1
2+
requests==2.24.0

0 commit comments

Comments
 (0)