Skip to content

Commit

Permalink
get the tag from the ref
Browse files Browse the repository at this point in the history
  • Loading branch information
michele-sciabarra committed Jun 12, 2022
1 parent 835f586 commit ca56808
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/cidownload.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash
VER="${1:?version}"
TAG="${1:?version}"
VER="${TAG#refs/*/}"
PRE="https://github.com/nuvolaris/nuvolaris-cli/releases/download"
wget -nc $PRE/$VER/nuv-windows-amd64.zip
wget -nc $PRE/$VER/nuv-windows-amd64.zip.md5
Expand Down
8 changes: 8 additions & 0 deletions aliases
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ alias t=task
alias td="task dev:deploy"
alias tde="task dev:destroy"

function gsnap {
if test -z "$1"
then echo msg please
else git commit -a -m "$@"
git push upstream main
fi
}

function otask {
cd /workspaces/nuvolaris/nuvolaris-operator
task "$@"
Expand Down

0 comments on commit ca56808

Please sign in to comment.