jekyll_test_plugin 0.0.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 715146aab0706190143196d23646ad885497f5ebd9b887737cd6f7862428fd03
4
- data.tar.gz: 3d18de1455b1d2c526c71fe3134015de7912aab7b3631468d6822dffe432a67d
3
+ metadata.gz: 650d9ced6baa1565b3185c87034c71e981b4e045948f7d02ee1afee45a9032bb
4
+ data.tar.gz: b43e35515d0026d9d3e7439a3235fa1ddd10dca5bf6c19817a2cf4dc0d16451a
5
5
  SHA512:
6
- metadata.gz: 7f232fc299594f5768bc532932755f47a825ac07a2d72399dcf2ed4b1c8ad49a4f6d9864f8244af2e6dbb4bfc2a4b26b47d0d4ce9e3577e73cbf28e204c67d8e
7
- data.tar.gz: da4d0d9de9f4a42991557dc0fa19b5fdf2841bf4842fba8801909b0b39c26b0ac109606797b468b48e85497b6f8713cc0315c9142c69c1ebdfa644f1347592fb
6
+ metadata.gz: cb015f64136720aa982644a2a4a3eec7b333e08126838a0de76ead9867debf855eb366d7b536754aa4083a5db6e23726a2d10cfdbbb27dec02e120e71f8e22bd
7
+ data.tar.gz: 72cd2e9540c74dd1bc9136a94271f4f80bf5c263f1bc0c6a3aa84027eb032d395467043d33031afef63716be312ebb7e2539cb27b8110723988d47bdcc2f1734
@@ -0,0 +1,33 @@
1
+ name: Release Gem
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ paths:
8
+ - "lib/**/version.rb"
9
+
10
+ jobs:
11
+ release:
12
+ if: "github.repository_owner == 'jekyll'"
13
+ name: "Release Gem (Ruby ${{ matrix.ruby_version }})"
14
+ runs-on: "ubuntu-latest"
15
+ strategy:
16
+ fail-fast: true
17
+ matrix:
18
+ ruby_version:
19
+ - 2.7
20
+ steps:
21
+ - name: Checkout Repository
22
+ uses: actions/checkout@v2
23
+ - name: "Set up Ruby ${{ matrix.ruby_version }}"
24
+ uses: ruby/setup-ruby@v1
25
+ with:
26
+ ruby-version: ${{ matrix.ruby_version }}
27
+ bundler-cache: true
28
+ - name: Build and Publish Gem
29
+ uses: ashmaroli/release-gem@dist
30
+ with:
31
+ gemspec_name: jekyll_test_plugin
32
+ env:
33
+ GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_GEM_PUSH_API_KEY }}
data/History.markdown ADDED
@@ -0,0 +1,5 @@
1
+ ## 0.1.1 / 2021-10-07
2
+
3
+ ### Development Fixes
4
+
5
+ * Add workflow to build gem via GH Actions (#2)
@@ -1,3 +1,3 @@
1
1
  module JekyllTestPlugin
2
- VERSION = "0.0.2"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll_test_plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Parker Moore
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-22 00:00:00.000000000 Z
11
+ date: 2021-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -59,9 +59,10 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - ".github/workflows/backport.yml"
62
+ - ".github/workflows/gem.yml"
63
63
  - ".gitignore"
64
64
  - Gemfile
65
+ - History.markdown
65
66
  - LICENSE.txt
66
67
  - README.md
67
68
  - Rakefile
@@ -1,52 +0,0 @@
1
- name: Release Backport
2
-
3
- on:
4
- push:
5
- branches:
6
- - "*-stable"
7
- paths:
8
- - "lib/**/version.rb"
9
-
10
- jobs:
11
- release:
12
- if: "github.repository_owner == 'jekyll'"
13
- name: "Release Backport (Ruby ${{ matrix.ruby_version }})"
14
- runs-on: "ubuntu-latest"
15
- strategy:
16
- fail-fast: true
17
- matrix:
18
- ruby_version:
19
- - 2.7
20
- steps:
21
- - name: Checkout Repository
22
- uses: actions/checkout@v2
23
- - name: "Set up Ruby ${{ matrix.ruby_version }}"
24
- uses: ruby/setup-ruby@v1
25
- with:
26
- ruby-version: ${{ matrix.ruby_version }}
27
- bundler-cache: true
28
- - name: Extract Plugin Meta
29
- id: plugin-meta
30
- run: |
31
- echo "::set-output name=tag_version::$(bundle exec rake project:tag_version)"
32
- echo "::set-output name=gem_name::$(bundle exec rake project:gem_name)"
33
- shell: bash
34
- - name: "Build Gem (${{ steps.plugin-meta.outputs.gem_name }})"
35
- run: bundle exec rake build
36
- - name: Archive gem as artifact
37
- uses: actions/upload-artifact@v2
38
- with:
39
- name: "${{ steps.plugin-meta.outputs.gem_name }}"
40
- path: "pkg/${{ steps.plugin-meta.outputs.gem_name }}.gem"
41
- retention-days: 5
42
- - name: Release Gem via Rubygems.org
43
- env:
44
- GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_GEM_PUSH_API_KEY }}
45
- run: |
46
- git config user.name "${{ github.actor }}"
47
- git config user.email "${{ github.actor }}@users.noreply.github.com"
48
- git tag ${{ steps.plugin-meta.outputs.tag_version }} \
49
- -m "Release :gem: ${{ steps.plugin-meta.outputs.tag_version }}" \
50
- ${{ github.event.head_commit.id }}
51
- git push origin ${{ steps.plugin-meta.outputs.tag_version }}
52
- gem push pkg/${{ steps.plugin-meta.outputs.gem_name }}.gem