drone not double up on version tag for directory
This commit is contained in:
parent
c6ca6d2567
commit
a84a0ae1b4
|
@ -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/
|
||||
|
|
Reference in New Issue