We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48029e9 commit 050aadbCopy full SHA for 050aadb
1 file changed
.github/workflows/auto-release.yml
@@ -41,7 +41,12 @@ jobs:
41
42
- name: Extract tag name
43
id: tag
44
- run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
+ run: |
45
+ if [[ "$GITHUB_REF" == refs/tags/* ]]; then
46
+ echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> "$GITHUB_OUTPUT"
47
+ else
48
+ echo "TAG_NAME=latest" >> "$GITHUB_OUTPUT"
49
+ fi
50
51
- name: Build PDF
52
run: mdpress build --format pdf --output agentic_ai_guide-${{ steps.tag.outputs.TAG_NAME || 'latest' }}.pdf
0 commit comments