Skip to content

Commit

Permalink
fix: use s3 links to wekactl binaries in release description
Browse files Browse the repository at this point in the history
  • Loading branch information
kristina-solovyova authored and assafgi committed Nov 14, 2023
1 parent e8e85bf commit 9093be5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/create_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@ git push --tags

github_repo="weka/wekactl"

filenames_arr=()
filepaths_arr=()
for distribution in "${DISTRIBUTIONS[@]}"; do
filename=$(basename "$distribution")
filenames_arr+=("$filename")
filepaths_arr+=("tmp/upload/$filename")
done

Expand All @@ -38,7 +36,7 @@ docker build -t github-token . -f scripts/python.Dockerfile
eval "$(docker run -e "DEPLOY_APP_ID=$DEPLOY_APP_ID" -e "DEPLOY_APP_PRIVATE_KEY=$DEPLOY_APP_PRIVATE_KEY" github-token)"
echo "Fetched github token"
AUTH="Authorization: token $GITHUB_TOKEN"
dist_str=$(printf '\\n%s' "${filenames_arr[@]}")
dist_str=$(printf '\\n%s' "${DISTRIBUTIONS[@]}")
release_body="GA release$dist_str"
echo "Creating draft release $BUILD_VERSION with body: $release_body"
result=$(curl \
Expand Down

0 comments on commit 9093be5

Please sign in to comment.