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 d6352dc commit e0e6fc5Copy full SHA for e0e6fc5
.github/workflows/ci.yml
@@ -22,10 +22,10 @@ jobs:
22
- run: npm test
23
- run: npm run rollup
24
- run: npm run cli
25
- - run: node_modules/.bin/semantic-release
26
- id: get_app_version
27
run: echo "::set-output name=app_version::$(node_modules/.bin/semantic-release --dry-run | perl -ne '/(?<=The next release version is ).*(0|(?:[1-9]\d*))(?:\.(0|(?:[1-9]\d*))(?:\.(0|(?:[1-9]\d*)))?(?:\-([\w][\w\.\-_]*))?)+/gi && print $&' | rev | cut -c1- | rev)"
28
-
+ - run: node_modules/.bin/semantic-release
+
29
publish_github:
30
runs-on: ubuntu-latest
31
if: ${{ needs.build.outputs.app_version }}
0 commit comments