File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -104,12 +104,14 @@ jobs:
104104 npm install -g npm
105105 yarn install --immutable
106106
107- - name : version - Release
108- if : ${{ github.event.inputs.snapshot == 'false' }}
107+ - name : Setup Git User
109108 run : |
110109 git config user.email ${{ secrets.BOT_GIT_EMAIL }}
111110 git config user.name ${{ secrets.BOT_GIT_USERNAME }}
112111
112+ - name : version - Release
113+ if : ${{ github.event.inputs.snapshot == 'false' }}
114+ run : |
113115 ${GITHUB_WORKSPACE}/node_modules/.bin/lerna version ${{ github.event.inputs.release_type }} \
114116 ${{ (github.event.inputs.prerelease == 'true' && '--conventional-prerelease') || '--conventional-graduate' }} \
115117 --create-release github
@@ -127,6 +129,9 @@ jobs:
127129 --no-git-tag-version \
128130 --allow-branch ${{ github.ref_name }}
129131
132+ git add .
133+ git commit -m "chore: release snapshot version"
134+
130135 - name : build
131136 run : yarn build
132137
You can’t perform that action at this time.
0 commit comments