This commit is contained in:
parent
da2c738c52
commit
1e6316f2b3
@ -7,7 +7,7 @@ steps:
|
||||
CHROME_PRIVKEY:
|
||||
from_secret: chrome_privkey
|
||||
commands:
|
||||
- ./pack-chrome.sh
|
||||
- ./pack-browsers.sh
|
||||
- name: gitea_release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
@ -15,6 +15,6 @@ steps:
|
||||
from_secret: gitea_token
|
||||
base_url: https://git.purser.it
|
||||
title: ${DRONE_TAG}
|
||||
files: out/proxy-stream-${DRONE_TAG}.crx
|
||||
files: out/proxy-stream-${DRONE_TAG}.crx out/proxy-stream-${DRONE_TAG}.xpi
|
||||
when:
|
||||
event: tag
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,4 +11,5 @@ android/.gradle/*
|
||||
android/gradle/*
|
||||
chrome/*.png
|
||||
*.crx
|
||||
*.xpi
|
||||
sources.json
|
||||
|
@ -50,6 +50,8 @@ fi
|
||||
release_folder="${temp_dir}/out/proxy-stream-${DRONE_TAG}"
|
||||
cp -r "${dir}/chrome" "${release_folder}"
|
||||
|
||||
(cd "${release_folder}" && zip -r "${temp_dir}/out/proxy-stream-${DRONE_TAG}.xpi" .)
|
||||
|
||||
if grep "/proc/1/cgroup" -q -F -e docker
|
||||
then
|
||||
${browser} --disable-gpu --no-sandbox --user-data-dir=${chrome_dir} --pack-extension="${temp_dir}/out/proxy-stream-${DRONE_TAG}" --pack-extension-key="${temp_dir}/privkey.pem"
|
Loading…
Reference in New Issue
Block a user