neo4j-asciidoctor-extensions 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +33 -0
- data/Gemfile.lock +1 -1
- data/README.adoc +17 -0
- data/neo4j-asciidoctor-extensions.gemspec +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f56c5e2f8d13065832c148fb4b3724e45a2542a19062b77953b92235e675010c
|
4
|
+
data.tar.gz: 3129172a1921f8fb0fd666e36dff542255b5b797c5c6b68278cff728dabca7cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a348aefd8422a543a9608907e3861386078ed6004715bbd0fac40f323c856c2d30925dc43b2a7d2d5086a34b8e8fa31475248fd7b02b628a6ab051e0a943fc4
|
7
|
+
data.tar.gz: 7abdf4c55bab07472dc5b50f8e4891bf7555d07626d6ae0152a34d92e07f641101a95952169276de95e3994a2638d6315f0df332d6ad2530a2ad6dcc7a51ea81
|
@@ -0,0 +1,33 @@
|
|
1
|
+
---
|
2
|
+
name: Release
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
tags:
|
6
|
+
- v*
|
7
|
+
jobs:
|
8
|
+
release:
|
9
|
+
runs-on: ubuntu-latest
|
10
|
+
steps:
|
11
|
+
- uses: actions/checkout@v2
|
12
|
+
- uses: actions/setup-ruby@v1
|
13
|
+
with:
|
14
|
+
ruby-version: '2.6'
|
15
|
+
- name: Install and test
|
16
|
+
run: |
|
17
|
+
bundle install
|
18
|
+
bundle exec rake
|
19
|
+
- name: Configure credentials
|
20
|
+
run: |
|
21
|
+
mkdir -p $HOME/.gem
|
22
|
+
touch $HOME/.gem/credentials
|
23
|
+
chmod 0600 $HOME/.gem/credentials
|
24
|
+
printf -- "---\n:rubygems_api_key: ${RUBYGEMS_API_KEY}" > $HOME/.gem/credentials
|
25
|
+
env:
|
26
|
+
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
|
27
|
+
- name: Build gem
|
28
|
+
run: |
|
29
|
+
bundle exec rake build
|
30
|
+
- name: Publish to rubygems.org
|
31
|
+
run: |
|
32
|
+
gem push pkg/neo4j-asciidoctor-extensions-${GITHUB_REF#refs/tags/v}.gem
|
33
|
+
|
data/Gemfile.lock
CHANGED
data/README.adoc
CHANGED
@@ -145,3 +145,20 @@ Hello!
|
|
145
145
|
This is another speaker note.
|
146
146
|
--
|
147
147
|
----
|
148
|
+
|
149
|
+
== Release
|
150
|
+
|
151
|
+
The release process is automated and relies on GitHub Actions.
|
152
|
+
We are using the :robot: `neo4j-oss-build` account to published on https://rubygems.org/gems/neo4j-asciidoctor-extensions.
|
153
|
+
|
154
|
+
The `RUBYGEMS_API_KEY` secret is configured on GitHub.
|
155
|
+
See the `.github/workflows/release.yml` file for details.
|
156
|
+
|
157
|
+
The release will be performed when a tag is pushed, the procedure is:
|
158
|
+
|
159
|
+
. Edit `neo4j-asciidoctor-extensions.gemspec` and update the version number `s.version`
|
160
|
+
. Run `bundle exec rake` to make sure that everything is working
|
161
|
+
. Commit both `neo4j-asciidoctor-extensions.gemspec` and `Gemfile.lock` files
|
162
|
+
. Tag the version using `git tag vx.y.z` (don't forget the `v` prefix and replace `x.y.z` with an actual version)
|
163
|
+
. Push your changes with the tag: `git push origin master --tags`
|
164
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neo4j-asciidoctor-extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Guillaume Grossetie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -117,6 +117,7 @@ extra_rdoc_files: []
|
|
117
117
|
files:
|
118
118
|
- ".editorconfig"
|
119
119
|
- ".github/workflows/ci.yml"
|
120
|
+
- ".github/workflows/release.yml"
|
120
121
|
- ".gitignore"
|
121
122
|
- ".rakeTasks"
|
122
123
|
- ".rubocop.yml"
|
@@ -169,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
169
170
|
- !ruby/object:Gem::Version
|
170
171
|
version: '0'
|
171
172
|
requirements: []
|
172
|
-
rubygems_version: 3.0.
|
173
|
+
rubygems_version: 3.0.3
|
173
174
|
signing_key:
|
174
175
|
specification_version: 4
|
175
176
|
summary: Asciidoctor extensions by Neo4j.
|