Skip to content

Commit

Permalink
Replace ls | cut with basename -a (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodegard authored Jul 12, 2023
1 parent a767423 commit cbd0bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion canary-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ runs:
--label="${{ inputs.anaconda-org-label }}" \
./pkgs/${{ inputs.subdir }}/${{ inputs.package-name }}-*.tar.bz2
echo "Uploaded the following files:"
ls ./pkgs/${{ inputs.subdir }}/${{ inputs.package-name }}-*.tar.bz2 | cut -d/ -f3- | tr ' ' $'\n'
basename -a ./pkgs/${{ inputs.subdir }}/${{ inputs.package-name }}-*.tar.bz2
echo "::endgroup::"
echo "Use this command to try out the build:"
Expand Down

0 comments on commit cbd0bef

Please sign in to comment.