more url parsing fixes
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
e0442bd12f
commit
2e7ec681d5
7
.github/workflows/flake-update.yml
vendored
7
.github/workflows/flake-update.yml
vendored
@ -25,14 +25,13 @@ jobs:
|
||||
[[ -z "$url" ]] && break
|
||||
final_url=$url
|
||||
done
|
||||
echo "DETERMINATE_URL=$(echo '$final_url')" | tee -a $GITHUB_ENV
|
||||
|
||||
echo "DETERMINATE_URL="$(printf "$final_url") | tee -a $GITHUB_ENV
|
||||
|
||||
determinate_version=$(echo $final_url | sed -E -e 's/.*(v[0-9.]+).*/\1/g')
|
||||
echo "DETERMINATE_VESION=$(echo '$determinate_version')" | tee -a $GITHUB_ENV
|
||||
echo "DETERMINATE_VESION=$(echo $determinate_version)" | tee -a $GITHUB_ENV
|
||||
|
||||
binary_name=$(echo $final_url | sed -E -e 's/.*\/(.*)/\1/g')
|
||||
echo "DETERMINATE_BINARY=$(echo '$binary_name')" | tee -a $GITHUB_ENV
|
||||
echo "DETERMINATE_BINARY=$(echo $binary_name)" | tee -a $GITHUB_ENV
|
||||
|
||||
- name: Download binary
|
||||
run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user