Created
November 28, 2017 02:22
-
-
Save lapolonio/7c83359bb211443442a66c10bf2dbbd5 to your computer and use it in GitHub Desktop.
scp latest jar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MAIN_JAR=`ls -1t /path/to/file-*[0-9]-SNAPSHOT.jar | head -1` | |
scp ${MAIN_JAR} lapolonio@server:lib/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment