File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 5151 with :
5252 fetch-depth : 0
5353
54+ - name : Bump version
55+ if : github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
56+ run : |
57+ git config user.name "github-actions[bot]"
58+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
59+ npm version patch -m "chore: bump version to %s [skip ci]"
60+ git push origin main
61+ env :
62+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
63+
5464 - name : Get version from package.json
5565 id : version
5666 run : echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 11{
22 "name" : " street-sweep" ,
3- "version" : " 0.3.0 " ,
3+ "version" : " 0.3.1 " ,
44 "private" : true ,
55 "scripts" : {
66 "dev" : " next dev -p 3888" ,
You can’t perform that action at this time.
0 commit comments