From 3ee5e003a70adf6f3f91c9b909a0e5815242feb0 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Fri, 16 Oct 2020 01:48:47 +0200 Subject: [PATCH] Drone: fix AppImage builds --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index acb68ba..b4aed15 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,7 +30,7 @@ steps: - name: files_linux_release path: /files commands: - - export FN="feather-`git rev-parse --short HEAD`.zip" + - export FN="feather-`echo $DRONE_COMMIT_AFTER | cut -c 1-7`.zip" - export TARGET_DIR="/files/$DRONE_SOURCE_BRANCH" - mkdir -p "$TARGET_DIR" - echo "writing to $TARGET_DIR/$FN" @@ -56,7 +56,7 @@ steps: - name: build image: feather:appimage commands: - - export FN="feather-`git rev-parse --short HEAD`.zip" + - export FN="feather-`echo $DRONE_COMMIT_AFTER | cut -c 1-7`.zip" - export BRANCH="$DRONE_SOURCE_BRANCH" - bash ./contrib/build-appimage.sh - name: deploy @@ -109,7 +109,7 @@ steps: - name: files_win_release path: /files commands: - - export FN="feather-`git rev-parse --short HEAD`.zip" + - export FN="feather-`echo $DRONE_COMMIT_AFTER | cut -c 1-7`.zip" - export TARGET_DIR="/files/$DRONE_SOURCE_BRANCH" - mkdir -p "$TARGET_DIR" - echo "writing to $TARGET_DIR/$FN" @@ -147,7 +147,7 @@ steps: - name: files_mac_release path: /files commands: - - export FN="feather-`git rev-parse --short HEAD`.zip" + - export FN="feather-`echo $DRONE_COMMIT_AFTER | cut -c 1-7`.zip" - export TARGET_DIR="/files/$DRONE_SOURCE_BRANCH" - mkdir -p "$TARGET_DIR" - echo "writing to $TARGET_DIR/$FN"