Skip to content

Commit

Permalink
github: add release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Oct 4, 2024
1 parent d3d84b2 commit 7ca3443
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Release gems
on:
workflow_dispatch:
push:
tags:
- v*

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch current tag as annotated. See https://github.com/actions/checkout/issues/290
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- name: Configure RubyGems Credentials
uses: rubygems/configure-rubygems-credentials@main
- name: Publish to RubyGems
run: |
gem install gem-release
make ci-release
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## master

## 1.1.0 (2024-10-04)

- Support `stream_id`, `offset`, and `epoch` fields in Action Cable `receive`. ([@palkan][])

- Add `print` option to `receive` action to print the received message. ([@palkan][])
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ release: test lint
RELEASING_ANYWAY=true gem release wsdirector-cli
git push
git push --tags

ci-release: nextify
RELEASING_ANYWAY=true gem release wsdirector-core -t
RELEASING_ANYWAY=true gem release wsdirector-cli
2 changes: 1 addition & 1 deletion lib/wsdirector/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module WSDirector
VERSION = "1.0.3"
VERSION = "1.1.0"
end

0 comments on commit 7ca3443

Please sign in to comment.