mirror of
https://github.com/fkie-cad/nvd-json-data-feeds.git
synced 2026-10-29 02:30:49 +00:00
fetch tags for git describe
This commit is contained in:
1 parent
60abd776a6
commit
71fd5e0f75
1 file changed
+1
@@ -11,6 +11,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: |
|
||||
git fetch --prune --unshallow --tags
|
||||
latest_release=$(git describe --abbrev=0 --tags | grep -oP "\d+\.\d+\.\d+")
|
||||
cur=$(date +"%Y.%m.%d")
|
||||
if [ "$latest_release" != "$cur" ]; then
|
||||
|
||||
Reference in new issue
Block a user