We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f334c5e commit 2a8b582Copy full SHA for 2a8b582
.github/workflows/doc-gen-reusable.yml
@@ -29,7 +29,7 @@ jobs:
29
fetch-depth: 1
30
31
- name: Set VERSION to env
32
- run: echo "VERSION=$(curl -s https://api.github.com/repos/OWASP/owasp-masvs/releases/latest | jq '.tag_name' | sed 's/\"//g')" >> $GITHUB_ENV
+ run: echo "VERSION=$(curl -s https://api.github.com/repos/OWASP/owasp-masvs/tags | jq '.[0].name' | sed 's/\"//g')" >> $GITHUB_ENV
33
34
- name: Set DEV VERSION if it's not a tag
35
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
0 commit comments