From 2780f7b204a922b9eba1bae97fb920da0909cac9 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 24 Oct 2022 19:23:22 +0530 Subject: [PATCH] fix(scripts): fix snapshot deployment --- scripts/deploy-snapshot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/deploy-snapshot.sh b/scripts/deploy-snapshot.sh index 0e60099c..37556f9e 100755 --- a/scripts/deploy-snapshot.sh +++ b/scripts/deploy-snapshot.sh @@ -4,7 +4,7 @@ set -euxo pipefail NIGHTLY_TAG="nightly" CURRENT_REV="$(git rev-parse --short HEAD)" -ASSET_DIRECTORY="${GITHUB_WORKSPACE:?}/android/outputs" +ASSET_DIRECTORY="${GITHUB_WORKSPACE:?}/android/apk" function overwrite_local_tag() { git tag -f "${NIGHTLY_TAG}" @@ -28,7 +28,7 @@ function create_release() { CHANGELOG_FILE="$(mktemp)" echo "Latest release for Claw from revision ${CURRENT_REV}" | tee "${CHANGELOG_FILE}" pushd "${ASSET_DIRECTORY}" || return - gh release create --prerelease --title "Latest snapshot build" --notes-file "${CHANGELOG_FILE}" "${NIGHTLY_TAG}" ./* + gh release create --prerelease --title "Latest snapshot build" --notes-file "${CHANGELOG_FILE}" "${NIGHTLY_TAG}" ./*.apk popd || return }