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