Skip to content

Commit 13aa9be

Browse files
committed
🔖 attempt to release new jekyll-dash gem
1 parent caec027 commit 13aa9be

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/build-branch.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
test:
7-
7+
if: github.ref != 'refs/head/main'
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
@@ -22,3 +22,15 @@ jobs:
2222
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
2323
- name: Run tests
2424
run: bundle exec rake
25+
# release the tag to rubygems
26+
release:
27+
if: github.ref == 'refs/head/main'
28+
steps:
29+
- uses: actions/checkout@v1
30+
- name: Release Gem
31+
if: contains(github.ref)
32+
uses: cadwallion/publish-rubygems-action@master
33+
env:
34+
GITHUB_TOKEN: ${{secrets.GH_CREDENTIALS}}
35+
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
36+
RELEASE_COMMAND: rake release

jekyll-dash.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Gem::Specification.new do |spec|
44
spec.name = "jekyll-dash"
5-
spec.version = "1.3.4"
5+
spec.version = "1.3.5"
66
spec.authors = ["Miguel Gonzalez Sanchez"]
77
spec.email = ["[email protected]"]
88

0 commit comments

Comments
 (0)