Skip to content

Commit f6d45b9

Browse files
committed
Fixed Redis archive script for custom_build
1 parent 559f9fd commit f6d45b9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/actions/build-and-tag-locally/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,13 @@ runs:
108108
if: inputs.custom_build != ''
109109
run: |
110110
if [[ "${{ inputs.custom_build }}" == "branch" ]]; then
111-
echo "REDIS_DOWNLOAD_URL=https://github.com/redis/redis/archive/refs/heads/${{ inputs.release_tag }}.tar.gz" >> "$GITHUB_ENV"
111+
echo "REDIS_DOWNLOAD_URL=https://github.com/redis/redis/archive/refs/heads/${{ inputs.release_tag }}.tar.gz" | tee -a "$GITHUB_ENV"
112112
elif [[ "${{ inputs.custom_build }}" == "tag" ]]; then
113-
echo "REDIS_DOWNLOAD_URL=https://github.com/redis/redis/archive/refs/tags/${{ inputs.release_tag }}.tar.gz" >> "$GITHUB_ENV"
113+
echo "REDIS_DOWNLOAD_URL=https://github.com/redis/redis/archive/refs/tags/${{ inputs.release_tag }}.tar.gz" | tee -a "$GITHUB_ENV"
114114
elif [[ "${{ inputs.custom_build }}" == "commit" ]]; then
115-
echo "REDIS_DOWNLOAD_URL=https://github.com/redis/redis/archive/${{ inputs.release_tag }}.tar.gz" >> "$GITHUB_ENV"
115+
echo "REDIS_DOWNLOAD_URL=https://github.com/redis/redis/archive/${{ inputs.release_tag }}.tar.gz" | tee -a "$GITHUB_ENV"
116116
else
117-
echo "Wrong custom_build, available options are tag, branch and "commit"
117+
echo "Wrong custom_build type, available options are tag, branch and commit"
118118
exit 1
119119
fi
120120

0 commit comments

Comments
 (0)