File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 - ' .github/workflows/markdown.yml'
1010 - ' .github/markdownlint.json'
1111 - ' .github/markdownlint.jsonc'
12+ - ' .github/workflows/nightly.yml'
1213 pull_request :
1314 branches :
1415 - main
1718 - ' .github/workflows/markdown.yml'
1819 - ' .github/markdownlint.json'
1920 - ' .github/markdownlint.jsonc'
21+ - ' .github/workflows/nightly.yml'
2022 workflow_dispatch :
2123 merge_group :
2224 release :
Original file line number Diff line number Diff line change 99 - ' .github/workflows/markdown.yml'
1010 - ' .github/markdownlint.json'
1111 - ' .github/markdownlint.jsonc'
12+ - ' .github/workflows/nightly.yml'
1213 push :
1314 branches :
1415 - main
1718 - ' .github/workflows/markdown.yml'
1819 - ' .github/markdownlint.json'
1920 - ' .github/markdownlint.jsonc'
21+ - ' .github/workflows/nightly.yml'
2022
2123permissions :
2224 contents : read
Original file line number Diff line number Diff line change 5656 DESCRIBE=$(git describe --tags | grep -Eo 'v[0-9]+\.[0-9]+\.[0-9]+')
5757 QUALIFIER=$(git describe --tags | grep -Eo '[0-9]+\-g[0-9a-f]+$')
5858 yarn version -s --no-git-tag-version --new-version "${DESCRIBE#v}"
59- yarn version --no-git-tag-version --prepatch --preid "${{ github.ref_name }}${QUALIFIER}"
59+ if [ -n "${QUALIFIER}" ]; then
60+ yarn version --no-git-tag-version --prepatch --preid "${{ github.ref_name }}${QUALIFIER}"
61+ else
62+ yarn version --no-git-tag-version --prepatch --preid "${{ github.ref_name }}"
63+ fi
6064 VERSION="$(jq -r ".version" < package.json)"
6165 sed -i "s/## Unreleased/## ${VERSION}/" CHANGELOG.md
6266 echo "Version is ${VERSION}"
You can’t perform that action at this time.
0 commit comments