From 3c381f372e38e301f0a2505dcb479dd0675e9279 Mon Sep 17 00:00:00 2001 From: opyale Date: Wed, 27 Jan 2021 10:00:18 +0100 Subject: [PATCH] Add execution permissions for script. (#815) Add execution permissions for script. Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/815 Reviewed-by: M M Arif Co-Authored-By: opyale Co-Committed-By: opyale --- .gitlab-ci.yml | 12 ++++++------ .../{add_commit_status.sh => add-commit-status.sh} | 0 2 files changed, 6 insertions(+), 6 deletions(-) rename scripts/{add_commit_status.sh => add-commit-status.sh} (100%) mode change 100644 => 100755 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 011a5da7..069faff3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ stages: - publish on_setup: - image: nextcloudci/android:android-54 + image: tutum/curl stage: .pre only: - master @@ -14,7 +14,7 @@ on_setup: MAIN_REPO: gitnex/GitNex STATE: pending script: - - ./scripts/add_commit_status.sh + - ./scripts/add-commit-status.sh build: image: nextcloudci/android:android-54 @@ -72,7 +72,7 @@ release: - curl -T "$PLUGIN_FILE" -u "$WEBDAV_USERNAME":"$WEBDAV_PASSWORD" 'https://cloud.swatian.com/remote.php/dav/files/GitNexBot/gitnex/releases/'"$CI_COMMIT_REF_NAME"'.apk' on_success: - image: nextcloudci/android:android-54 + image: tutum/curl stage: .post only: - master @@ -82,11 +82,11 @@ on_success: MAIN_REPO: gitnex/GitNex STATE: success script: - - ./scripts/add_commit_status.sh + - ./scripts/add-commit-status.sh when: on_success on_failure: - image: nextcloudci/android:android-54 + image: tutum/curl stage: .post only: - master @@ -96,5 +96,5 @@ on_failure: MAIN_REPO: gitnex/GitNex STATE: failure script: - - ./scripts/add_commit_status.sh + - ./scripts/add-commit-status.sh when: on_failure diff --git a/scripts/add_commit_status.sh b/scripts/add-commit-status.sh old mode 100644 new mode 100755 similarity index 100% rename from scripts/add_commit_status.sh rename to scripts/add-commit-status.sh