We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6308f7 commit c7d61c2Copy full SHA for c7d61c2
.github/workflows/docgenerator.yml
@@ -12,7 +12,7 @@ jobs:
12
fetch-depth: 1
13
14
- name: Set VERSION to env
15
- run: echo "VERSION=$(curl -s https://api.github.com/repos/OWASP/owasp-mstg/releases/latest | jq '.tag_name' | sed 's/\"//g')" >> $GITHUB_ENV
+ run: echo "VERSION=$(curl "https://api.github.com/repos/OWASP/owasp-mstg/tags" | jq -r '.[0].name')" >> $GITHUB_ENV
16
17
- name: Set DEV VERSION if it's not a tag
18
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
0 commit comments