File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 11echo ' 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
214if [ -n " $version " ]; then
225 echo " Change manifest version to ${version} "
Original file line number Diff line number Diff line change 11echo ' 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
214if [ -n " $version " ]; then
225 echo " Change manifest version to ${version} "
You can’t perform that action at this time.
0 commit comments