mirror of
https://github.com/dagger/dagger-for-github.git
synced 2025-12-31 20:59:43 +11:00
fix
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
This commit is contained in:
parent
55c36bff52
commit
d46c33402a
1 changed files with 2 additions and 6 deletions
|
|
@ -59,14 +59,10 @@ runs:
|
||||||
fi
|
fi
|
||||||
printf '%s/bin' "$prefix_dir" >> $GITHUB_PATH
|
printf '%s/bin' "$prefix_dir" >> $GITHUB_PATH
|
||||||
|
|
||||||
# If the dagger version is 'latest', set the version back to an empty
|
# A version of 'latest' is respected in the install.sh script
|
||||||
# string. This allows the install script to detect and install the latest
|
|
||||||
# version itself
|
|
||||||
# We remove any leading 'v' on VERSION here to ensure a match
|
# We remove any leading 'v' on VERSION here to ensure a match
|
||||||
VERSION=${{ inputs.version }}
|
VERSION=${{ inputs.version }}
|
||||||
if [[ "$VERSION" == "latest" ]]; then
|
if [[ "$VERSION" != "latest" ]]; then
|
||||||
VERSION=
|
|
||||||
else
|
|
||||||
VERSION=$(echo -n $VERSION | cut -d' ' -f2 | cut -dv -f2 | tr -d '\n')
|
VERSION=$(echo -n $VERSION | cut -d' ' -f2 | cut -dv -f2 | tr -d '\n')
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue