Skip to content

Commit ccbcd1c

Browse files
committed
♻️ cleanup code
1 parent 9787dde commit ccbcd1c

File tree

4 files changed

+16
-18
lines changed

4 files changed

+16
-18
lines changed

.github/workflows/build-branch.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,3 @@ jobs:
2222
bundler-cache: true
2323
- name: Run tests
2424
run: bundle exec rake
25-
26-
# release the tag to rubygems
27-
release:
28-
if: github.ref == 'refs/heads/main'
29-
runs-on: ubuntu-latest
30-
steps:
31-
- uses: actions/checkout@v1
32-
- name: Release gem
33-
uses: dawidd6/action-publish-gem@v1
34-
with:
35-
github_token: ${{secrets.GH_CREDENTIALS}}
36-
api_key: ${{secrets.RUBYGEMS_API_KEY}}

.github/workflows/release-gem.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Build Branch
2+
3+
on: [push]
4+
5+
jobs:
6+
release:
7+
if: github.ref == 'refs/heads/main'
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v1
11+
- name: Release gem
12+
uses: dawidd6/action-publish-gem@v1
13+
with:
14+
github_token: ${{secrets.GH_CREDENTIALS}}
15+
api_key: ${{secrets.RUBYGEMS_API_KEY}}

Rakefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# coding: utf-8
22
require 'jekyll'
3-
require 'rake/release/task'
43

54
# Extend string to allow for bold text.
65
class String
@@ -20,8 +19,4 @@ task :clean do
2019
Jekyll::Commands::Clean.process({})
2120
end
2221

23-
Rake::Release::Task.new do |spec|
24-
spec.sign_tag = true
25-
end
26-
2722
task :default => :build

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.5"
5+
spec.version = "1.3.6"
66
spec.authors = ["Miguel Gonzalez Sanchez"]
77
spec.email = ["[email protected]"]
88

0 commit comments

Comments
 (0)