File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 3939 sudo cp semver-tool-3.2.0/src/semver /usr/local/bin
4040 - name : Bump version
4141 run : |
42- export CURRENT=$(gem info pusher-push-notifications --remote --exact | grep -o "pusher-push-notifications ([0-9]*\.[0-9]*\.[0-9]*)" | awk -F '[()]' '{print $2}')
42+ export CURRENT=$(gem info pusher --remote --exact | grep -o "pusher ([0-9]*\.[0-9]*\.[0-9]*)" | awk -F '[()]' '{print $2}')
4343 export NEW_VERSION=$(semver bump ${{ env.RELEASE }} $CURRENT)
4444 echo "VERSION=$NEW_VERSION" >> $GITHUB_ENV
4545 - name : Checkout code
6363 - name : Prepare version.rb
6464 run : |
6565 sed -i "s|VERSION = '[^']*'|VERSION = '${{ env.VERSION }}'|" lib/pusher/version.rb
66- - name : Prepare Gemfile.lock
67- run : |
68- sed -i "s|pusher-push-notifications ([^)]*)|pusher-push-notifications (${{ env.VERSION }})|" Gemfile.lock
6966 - name : Commit changes
7067 run : |
71- git add CHANGELOG.md lib/pusher/push_notifications/ version.rb Gemfile.lock
68+ git add CHANGELOG.md lib/pusher/version.rb
7269 git commit -m "Bump to version ${{ env.VERSION }}"
7370 - name : Push
7471 run : git push
You can’t perform that action at this time.
0 commit comments