Skip to content

Commit ec9c26e

Browse files
committed
skip installing jq (already installed)
1 parent 627684e commit ec9c26e

3 files changed

Lines changed: 0 additions & 35 deletions

File tree

.github/workflows/distribute.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ jobs:
4141
run: yarn
4242
- name: Build and zip the extension
4343
run: |
44-
sudo apt-get install jq -y
4544
echo version=${{ steps.tag_version.outputs.new_version }}
4645
if [ ${{github.event.inputs.targetStore}} == 'chrome' ] || [ ${{github.event.inputs.targetStore}} == 'all' ]; then
4746
yarn build-chrome

script/build-chrome.sh

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,5 @@
11
echo 'building extension for Chrome...'
22

3-
# install jq if not installed
4-
if ! command -v jq &> /dev/null
5-
then
6-
echo "jq command not found. attempting to download jq binary"
7-
pth=$(pwd)
8-
export PATH=$PATH:$pth
9-
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
10-
curl -L https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 -o jq
11-
elif [[ "$OSTYPE" == "darwin"* ]]; then
12-
curl -L https://github.com/stedolan/jq/releases/download/jq-1.6/jq-osx-amd64 -o jq
13-
else
14-
echo "Unsupported OS type. Exiting..."
15-
exit 1
16-
fi
17-
chmod +x jq
18-
fi
19-
203
# Merge base and chrome jsons
214
if [ -n "$version" ]; then
225
echo "Change manifest version to ${version}"

script/build-firefox.sh

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,5 @@
11
echo 'building extension for Firefox...'
22

3-
# install jq if not installed
4-
if ! command -v jq &> /dev/null
5-
then
6-
echo "jq command not found. attempting to download jq binary"
7-
pth=$(pwd)
8-
export PATH=$PATH:$pth
9-
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
10-
curl -L https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 -o jq
11-
elif [[ "$OSTYPE" == "darwin"* ]]; then
12-
curl -L https://github.com/stedolan/jq/releases/download/jq-1.6/jq-osx-amd64 -o jq
13-
else
14-
echo "Unsupported OS type. Exiting..."
15-
exit 1
16-
fi
17-
chmod +x jq
18-
fi
19-
203
# Merge base and Firefox jsons
214
if [ -n "$version" ]; then
225
echo "Change manifest version to ${version}"

0 commit comments

Comments
 (0)