Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ jobs:

- name: Commit and tag version bump
run: |
git config user.name "github-actions"
git config user.email "github-actions@github.com"
git commit -am "Bump version to ${{ steps.version.outputs.bump }}"
# Attribute commits to the last committer on HEAD
git config --global user.email "$(git log -1 --pretty=format:'%ae')"
git config --global user.name "$(git log -1 --pretty=format:'%an')"
git remote set-url origin "https://x-access-token:${{ github.token }}@github.com/$GITHUB_REPOSITORY"
VERSION=$(ruby -e "require './lib/${{ env.GEM_NAME }}/version'; puts ${{ env.GEM_CLASS_NAME }}::VERSION")
git commit -am "Bump version to $VERSION"
git tag "v$VERSION"
git push origin main "v$VERSION"
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
query_packwerk (0.2.2.pre)
query_packwerk (0.1.0)
coderay
packwerk
parse_packwerk
Expand Down
2 changes: 1 addition & 1 deletion lib/query_packwerk/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# frozen_string_literal: true

module QueryPackwerk
VERSION = '0.2.2.pre'
VERSION = '0.1.0'
end