Skip to content

Instantly share code, notes, and snippets.

@dallaslu
Last active March 28, 2024 16:33
Show Gist options
  • Save dallaslu/34f7010194dc7edc821d to your computer and use it in GitHub Desktop.
Save dallaslu/34f7010194dc7edc821d to your computer and use it in GitHub Desktop.
#!bin/sh
# $1 tag name
# $2 work path
ssh package@127.0.0.1 "sh ~/package.sh $1 $2 > /dev/null 2>&1" << EOC
exit
EOC
echo done!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment