Skip to content

Commit

Permalink
Merge pull request #316 from kpumuk/gha-release
Browse files Browse the repository at this point in the history
Create a GitHub release after RubyGems release
  • Loading branch information
kpumuk committed Sep 20, 2024
2 parents 9c3948d + e9325c9 commit 082fbb3
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 9 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:

jobs:
push:
release:
runs-on: ubuntu-latest

permissions:
Expand Down Expand Up @@ -36,3 +36,9 @@ jobs:
- uses: rubygems/release-gem@v1
env:
GEM_PRIVATE_KEY_PASSPHRASE: "${{ secrets.GEM_PRIVATE_KEY_PASSPHRASE }}"
- name: Create GitHub release
run: |
tag_name="$(git describe --tags --abbrev=0)"
gh release create "${tag_name}" --verify-tag --generate-notes --latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Changelog

## Development
## 2.22.1 (September 20, 2024) [](https://github.com/kpumuk/meta-tags/compare/v2.22.0...v2.22.1)

Changes:

- Removed `meta-tags.gemspec` and `Rakefile` from the gem package ([312](https://github.com/kpumuk/meta-tags/pull/312)
- Use GitHub actions to build, sign and publish the gem ([314](https://github.com/kpumuk/meta-tags/pull/314), [315](https://github.com/kpumuk/meta-tags/pull/315), [316](https://github.com/kpumuk/meta-tags/pull/316))

## 2.22.0 (July 15, 2024) [](https://github.com/kpumuk/meta-tags/compare/v2.21.0...v2.22.0)

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_6.0.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
meta-tags (2.22.1.rc1)
meta-tags (2.22.1)
actionpack (>= 6.0.0, < 8.1)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_6.1.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
meta-tags (2.22.1.rc1)
meta-tags (2.22.1)
actionpack (>= 6.0.0, < 8.1)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_7.0.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
meta-tags (2.22.1.rc1)
meta-tags (2.22.1)
actionpack (>= 6.0.0, < 8.1)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_7.1.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
meta-tags (2.22.1.rc1)
meta-tags (2.22.1)
actionpack (>= 6.0.0, < 8.1)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_7.2.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
meta-tags (2.22.1.rc1)
meta-tags (2.22.1)
actionpack (>= 6.0.0, < 8.1)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_edge.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ GIT
PATH
remote: ..
specs:
meta-tags (2.22.1.rc1)
meta-tags (2.22.1)
actionpack (>= 6.0.0, < 8.1)

GEM
Expand Down
2 changes: 1 addition & 1 deletion lib/meta_tags/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module MetaTags
# Gem version.
VERSION = "2.22.1.rc1"
VERSION = "2.22.1"
public_constant :VERSION
end

0 comments on commit 082fbb3

Please sign in to comment.