mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-07-13 17:51:43 +00:00
Fix dubious permission
This commit is contained in:
parent
804329460b
commit
290737eb83
1 changed files with 6 additions and 0 deletions
|
|
@ -104,6 +104,7 @@ checkupdates:
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
set -xe
|
set -xe
|
||||||
|
- chown -R $(whoami) .
|
||||||
- *get_changed_builds
|
- *get_changed_builds
|
||||||
- |
|
- |
|
||||||
if [ -n "$CHANGED" ]; then
|
if [ -n "$CHANGED" ]; then
|
||||||
|
|
@ -120,6 +121,7 @@ git redirect:
|
||||||
- apt-get -qy update
|
- apt-get -qy update
|
||||||
- apt-get -qy dist-upgrade
|
- apt-get -qy dist-upgrade
|
||||||
- apt-get -qy install --no-install-recommends ca-certificates git python3 python3-yaml
|
- apt-get -qy install --no-install-recommends ca-certificates git python3 python3-yaml
|
||||||
|
- chown -R $(whoami) .
|
||||||
- *get_changed_apps
|
- *get_changed_apps
|
||||||
- test -n "$CHANGED" || exit 0
|
- test -n "$CHANGED" || exit 0
|
||||||
- tools/rewrite-git-redirects.py $CHANGED
|
- tools/rewrite-git-redirects.py $CHANGED
|
||||||
|
|
@ -138,6 +140,7 @@ fdroid lint:
|
||||||
- export fdroidserver=$PWD/fdroidserver
|
- export fdroidserver=$PWD/fdroidserver
|
||||||
- *install_fdroid_server
|
- *install_fdroid_server
|
||||||
script:
|
script:
|
||||||
|
- chown -R $(whoami) .
|
||||||
- cp tools/lint_config.yml config.yml
|
- cp tools/lint_config.yml config.yml
|
||||||
- *get_changed_apps
|
- *get_changed_apps
|
||||||
- export EXITVALUE=0
|
- export EXITVALUE=0
|
||||||
|
|
@ -213,6 +216,7 @@ lint:
|
||||||
- export EXITVALUE=0
|
- export EXITVALUE=0
|
||||||
- function set_error() { export EXITVALUE=1; printf "\x1b[31mERROR `history|tail -2|head -1|cut -b 6-500`\x1b[0m\n"; }
|
- function set_error() { export EXITVALUE=1; printf "\x1b[31mERROR `history|tail -2|head -1|cut -b 6-500`\x1b[0m\n"; }
|
||||||
|
|
||||||
|
- chown -R $(whoami) .
|
||||||
- find metadata/ -name '*.jp*g' -o -name '*.png' | xargs exiftool -all=
|
- find metadata/ -name '*.jp*g' -o -name '*.png' | xargs exiftool -all=
|
||||||
- echo "these images have EXIF that must be stripped:"
|
- echo "these images have EXIF that must be stripped:"
|
||||||
- git --no-pager diff --stat
|
- git --no-pager diff --stat
|
||||||
|
|
@ -233,6 +237,7 @@ schema validation:
|
||||||
before_script:
|
before_script:
|
||||||
- pip install check-jsonschema
|
- pip install check-jsonschema
|
||||||
script:
|
script:
|
||||||
|
- chown -R $(whoami) .
|
||||||
- check-jsonschema --check-metaschema schemas/metadata.json || exit 1
|
- check-jsonschema --check-metaschema schemas/metadata.json || exit 1
|
||||||
- *get_target_source_refs
|
- *get_target_source_refs
|
||||||
- git diff --exit-code --name-only "${TARGET_REF}...${SOURCE_REF}" schemas/metadata.json
|
- git diff --exit-code --name-only "${TARGET_REF}...${SOURCE_REF}" schemas/metadata.json
|
||||||
|
|
@ -294,6 +299,7 @@ fdroid build:
|
||||||
ANDROID_HOME: /opt/android-sdk
|
ANDROID_HOME: /opt/android-sdk
|
||||||
ANDROID_SDK_ROOT: ${ANDROID_HOME}
|
ANDROID_SDK_ROOT: ${ANDROID_HOME}
|
||||||
script:
|
script:
|
||||||
|
- chown -R $(whoami) .
|
||||||
- test -d build || mkdir build
|
- test -d build || mkdir build
|
||||||
- *get_changed_builds
|
- *get_changed_builds
|
||||||
- test -n "$(printf "$CHANGED" | tr -d '[:space:]')"
|
- test -n "$(printf "$CHANGED" | tr -d '[:space:]')"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue