From 3ef94f2d600e70db4de66f65517e85bc151a63b8 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 23 Sep 2022 01:53:34 +0530 Subject: [PATCH] fix(scripts): stop uploading `rev-hash` file --- scripts/deploy-snapshot.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/deploy-snapshot.sh b/scripts/deploy-snapshot.sh index 28c8e0da..fc7501c8 100755 --- a/scripts/deploy-snapshot.sh +++ b/scripts/deploy-snapshot.sh @@ -23,12 +23,6 @@ function delete_release() { gh release delete --yes "${LATEST_TAG}" } -function create_rev_file() { - pushd "${ASSET_DIRECTORY}" || return - echo "${CURRENT_REV}" | tee rev-hash.txt - popd || return -} - function create_release() { local CHANGELOG_FILE CHANGELOG_FILE="$(mktemp)" @@ -44,8 +38,6 @@ if [[ "$(has_release)" -eq 0 ]]; then delete_release fi -create_rev_file - overwrite_remote_tag create_release