Skip to content

Commit b3bcf03

Browse files
committed
Git describe to only consider tags starting with "v"
1 parent 45e77d4 commit b3bcf03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-and-trigger-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v1
1919
- name: Version stamp
20-
run: git describe --tags | sed -e s/^v// > version
20+
run: git describe --tags '--match=v*' | sed -e s/^v// > version
2121
- uses: actions/[email protected]
2222
with: { name: version, path: version }
2323

0 commit comments

Comments
 (0)