File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Stable
2+
13on :
24 push :
35 tags :
46 - ' v*' # Push events to matching v*, i.e. v1.0, v20.15.10
57
6- name : Publish Stable
7-
88jobs :
99 build :
1010 name : Publish Stable
1717 with :
1818 node-version : ' 12.x'
1919 - name : Setup Environment
20- run : node -e "console.log(` PACKAGE_VERSION=${ require('./package.json').version} \nPACKAGE_NAME=${ require('./package.json').name}-v${ require('./package.json').version}` )" >> $GITHUB_ENV
20+ run : node -e "console.log(' PACKAGE_VERSION=' + require('./package.json').version + ' \nPACKAGE_NAME=' + require('./package.json').name + '-' + require('./package.json').version)" >> $GITHUB_ENV
2121 - name : Verify versions
22- run : node -e "if ('refs/tags/v' + ${{ env.PACKAGE_VERSION }} !== '${{ github.ref }}') { console.log('::error' + 'Version Mismatch. refs/tags/v' + ${{ env.PACKAGE_VERSION }}, '${{ github.ref }}'); throw Error('Version Mismatch')} "
22+ run : node -e "if ('refs/tags/v' + ' ${{ env.PACKAGE_VERSION }}' !== '${{ github.ref }}') { console.log('::error' + 'Version Mismatch. refs/tags/v' + ' ${{ env.PACKAGE_VERSION }}' , '${{ github.ref }}'); throw Error('Version Mismatch')} "
2323 - name : Install
2424 run : yarn
2525 - name : Package extension
You can’t perform that action at this time.
0 commit comments