From 07a368e9466253f3095671f415fe40223afa5bb7 Mon Sep 17 00:00:00 2001 From: Linus Oleander <220827+oleander@users.noreply.github.com> Date: Fri, 6 Dec 2024 13:34:50 +0100 Subject: [PATCH] Update Gemfile.lock and amend workflow for version bumping --- .github/workflows/main.yml | 11 ++++++++++- Gemfile.lock | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c62314fc..108e68b9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -122,6 +122,15 @@ jobs: run: bundle install - name: Increment version - run: gem bump --version patch --tag --push --skip-ci --release --file lib/git_fame/version.rb + run: gem bump --version patch --tag --skip-ci --release --file lib/git_fame/version.rb env: GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }} + + - name: Add and commit version bump + run: | + bundle install + git add . + git commit --amend --no-edit + + - name: Push changes + run: git push diff --git a/Gemfile.lock b/Gemfile.lock index 8ad0d5d8..e193f82e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - git_fame (3.2.11) + git_fame (3.2.12) activesupport (~> 7.0) dry-initializer (~> 3.0) dry-struct (~> 1.0)