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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4a76564a648f37550de81012dd17b91d488e8791f217d5523c9d8f00b94f58a
4
- data.tar.gz: cdb7b4e3c6e65ead430cdd7ef856ff8ec7257533f049460026c371bd7d6b5255
3
+ metadata.gz: f56c5e2f8d13065832c148fb4b3724e45a2542a19062b77953b92235e675010c
4
+ data.tar.gz: 3129172a1921f8fb0fd666e36dff542255b5b797c5c6b68278cff728dabca7cb
5
5
  SHA512:
6
- metadata.gz: b8a83d07d04b37725b688e3b487b25ac96c5047fdbe29ab1222c6299347f0bf5c50f0da3820882aa09369aee708ffbd16d518ee858722cc5c4abecfbdaec9bbd
7
- data.tar.gz: 61d3c1b09eb8c820200d143e805801e06e4257ebb6dc0a9b10545e53fe2df3ebd4d6c3a26789b245613bd783bbbbd5c65be104bc75cc7d75f76b5a542f028e3f
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- neo4j-asciidoctor-extensions (0.0.3)
4
+ neo4j-asciidoctor-extensions (0.0.4)
5
5
  asciidoctor (~> 2.0.0)
6
6
  asciidoctor-pdf (= 1.5.3)
7
7
  rouge (~> 3.18.0)
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
+
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'neo4j-asciidoctor-extensions'
5
- s.version = '0.0.3'
5
+ s.version = '0.0.4'
6
6
  s.summary = 'Asciidoctor extensions by Neo4j.'
7
7
  s.description = 'Asciidoctor extensions by Neo4j.'
8
8
 
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.3
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-23 00:00:00.000000000 Z
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.6
173
+ rubygems_version: 3.0.3
173
174
  signing_key:
174
175
  specification_version: 4
175
176
  summary: Asciidoctor extensions by Neo4j.