jekyll_test_plugin 0.0.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/gem.yml +33 -0
- data/History.markdown +5 -0
- data/lib/jekyll_test_plugin/version.rb +1 -1
- metadata +4 -3
- data/.github/workflows/backport.yml +0 -52
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 650d9ced6baa1565b3185c87034c71e981b4e045948f7d02ee1afee45a9032bb
|
|
4
|
+
data.tar.gz: b43e35515d0026d9d3e7439a3235fa1ddd10dca5bf6c19817a2cf4dc0d16451a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
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
|
|
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-
|
|
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/
|
|
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
|