Skip to content

Commit 3f81f6f

Browse files
committed
Add notes on publishing
1 parent 4b83b2f commit 3f81f6f

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,16 @@ Here's an example of an authentication hash available in the callback by accessi
6666

6767
## Publishing
6868

69-
New versions are automatically published on push to main if
70-
lib/omniauth/kit_oauth2/version.rb is bumped.
69+
New versions can be published using [the "Publish" GitHub
70+
Action](https://github.com/Kit/omniauth-kit-oauth2/actions/workflows/publish.yml).
71+
72+
First you'll need to [update the
73+
version.rb](https://github.com/Kit/omniauth-kit-oauth2/blob/main/lib/omniauth/kit_oauth2/version.rb),
74+
then manually trigger in the UI via the "Run workflow" button.
75+
76+
![](image.png)
77+
78+
This will:
79+
- Build the package
80+
- Push up a Git tag
81+
- Push the package to RubyGems

docs/publish-action.png

78.1 KB
Loading

0 commit comments

Comments
 (0)