drone not double up on version tag for directory

This commit is contained in:
Dan Ballard 2019-08-09 13:28:17 -07:00
parent c6ca6d2567
commit a84a0ae1b4
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ pipeline:
- echo $BUILDFILES_KEY > ~/id_rsab64
- base64 -d ~/id_rsab64 > ~/id_rsa
- chmod 400 ~/id_rsa
- export DIR=`date +%G.%m.%d-%H.%M`-`git rev-parse --short HEAD`-`git describe --tags`
- export DIR=`date +%G.%m.%d-%H.%M`-`git describe --tags`
- cd deploy
- mkdir $DIR
- mv cwtch* $DIR/