File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 4343
4444 - name : Commit and tag version bump
4545 run : |
46- git config user.name "github-actions"
47- git config user.email "[email protected] " 48- git commit -am "Bump version to ${{ steps.version.outputs.bump }}"
46+ # Attribute commits to the last committer on HEAD
47+ git config --global user.email "$(git log -1 --pretty=format:'%ae')"
48+ git config --global user.name "$(git log -1 --pretty=format:'%an')"
49+ git remote set-url origin "https://x-access-token:${{ github.token }}@github.com/$GITHUB_REPOSITORY"
4950 VERSION=$(ruby -e "require './lib/${{ env.GEM_NAME }}/version'; puts ${{ env.GEM_CLASS_NAME }}::VERSION")
51+ git commit -am "Bump version to $VERSION"
5052 git tag "v$VERSION"
5153 git push origin main "v$VERSION"
Original file line number Diff line number Diff line change 11PATH
22 remote: .
33 specs:
4- query_packwerk (0.2.2.pre )
4+ query_packwerk (0.1.0 )
55 coderay
66 packwerk
77 parse_packwerk
Original file line number Diff line number Diff line change 22# frozen_string_literal: true
33
44module QueryPackwerk
5- VERSION = '0.2.2.pre '
5+ VERSION = '0.1.0 '
66end
You can’t perform that action at this time.
0 commit comments