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 46d4bc4 commit 8bd3aadCopy full SHA for 8bd3aad
.github/workflows/docs.yml
@@ -42,8 +42,7 @@ jobs:
42
- name: Set VERSION env from tag name
43
if: startsWith(github.ref, 'refs/tags/v')
44
run: |
45
- export REF_NAME=${{github.ref_name}}
46
- export VERSION=${REF_NAME:1}
+ REF_NAME="${{ github.ref_name }}"; export VERSION="${REF_NAME:1}"
47
echo "VERSION=${VERSION}" >> $GITHUB_ENV
48
echo "IS_PREVIEW=$(node -p "Number('${VERSION}'.includes('-'))")" >> $GITHUB_ENV
49
echo "IS_BACKPORT=$(node -p "Number(require('semver').lt('${VERSION}','$(tail -n 1 gh-pages/VERSION.md)'))")" >> $GITHUB_ENV
0 commit comments