Skip to content

Commit

Permalink
git add tag for version
Browse files Browse the repository at this point in the history
  • Loading branch information
sjqzhang committed Apr 22, 2021
1 parent 27cb913 commit f199722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

BIN_VERSION="go-fastdfs:${1-not set}"
BIN_VERSION="go-fastdfs:${1-$(git describe --tags `git rev-parse HEAD`)}"

if [[ ! -d src ]];then

Expand Down

0 comments on commit f199722

Please sign in to comment.