Drone 1.0.0-rc.2 bug for git tag

- name: alpine
  image: alpine
  environment:
    MAC_USER:
      from_secret: MAC_USER
  commands:
  - echo $MAC_USER
  - echo ${DRONE_BRANCH}/${DRONE_TAG}/${DRONE_COMMIT}/${DRONE_GIT_HTTP_URL}
  - BUILD_DIR=.drone-ci-cd/${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}/${DRONE_BUILD_NUMBER}
  - echo $BUILD_DIR
  - |
    if test "${DRONE_TAG}" = ""; then
      echo 'git clone -b ${DRONE_REPO_BRANCH} ${DRONE_REMOTE_URL} --recursive .'
    else
      echo 'git clone -b ${DRONE_TAG} ${DRONE_REMOTE_URL} --recursive .'
    fi
  - echo 'git clone -b ${DRONE_BRANCH} ${DRONE_REMOTE_URL} --recursive .'

push

+ echo $MAC_USER
********
+ echo master//3acb00d85dc3adcca49888beee6f0b2f347e8e96/http://git.haitanyule.com/docker/drone.git
master//3acb00d85dc3adcca49888beee6f0b2f347e8e96/http://git.haitanyule.com/docker/drone.git
+ BUILD_DIR=.drone-ci-cd/docker/drone/76
+ echo $BUILD_DIR
.drone-ci-cd/docker/drone/76
+ if test "" = ""; then\n  echo 'git clone -b master http://git.haitanyule.com/docker/drone.git --recursive .'\nelse\n  echo 'git clone -b  http://git.haitanyule.com/docker/drone.git --recursive .'\nfi\n
git clone -b master http://git.haitanyule.com/docker/drone.git --recursive .
+ echo 'git clone -b master http://git.haitanyule.com/docker/drone.git --recursive .'
git clone -b master http://git.haitanyule.com/docker/drone.git --recursive .

tag

+ echo $MAC_USER
********
+ echo v0.2/v0.2//http://git.haitanyule.com/docker/drone.git
v0.2/v0.2//http://git.haitanyule.com/docker/drone.git
+ BUILD_DIR=.drone-ci-cd/docker/drone/77
+ echo $BUILD_DIR
.drone-ci-cd/docker/drone/77
+ echo 'git clone -b master http://git.haitanyule.com/docker/drone.git --recursive .'
git clone -b master http://git.haitanyule.com/docker/drone.git --recursive .
  - |
    if test "${DRONE_TAG}" = ""; then
      echo 'git clone -b ${DRONE_REPO_BRANCH} ${DRONE_REMOTE_URL} --recursive .'
    else
      echo 'git clone -b ${DRONE_TAG} ${DRONE_REMOTE_URL} --recursive .'
    fi

it doesn’t work

Closing this as a duplicate of Drone 1.0.0-rc.1 git tag not work