Skip to content

Commit

Permalink
ci(cdn_publish.sh): fix the version tag expression
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregg Anderson authored and James Nash committed Apr 24, 2019
1 parent 30f07a5 commit 4967a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/cdn_publish.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
cdnGravityDir="gravity-ui-web"
cdnDir="cdn-dist"
version="$(git describe --abbrev=0 --tags --match *v[0-1000].[0-1000].[0-1000]*)"
version="$(git describe --abbrev=0 --tags --match *v[0-9]*.[0-9]*.[0-9]*)"
# be sure we get only the version part and discard any prefix
version=`expr $version : '.*\(v[0-9].*\)'`

Expand Down

0 comments on commit 4967a7f

Please sign in to comment.