mnconvert 1.28.0 → 1.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/prepare.yml +1 -1
- data/.github/workflows/rake.yml +0 -2
- data/.github/workflows/release-tag.yml +1 -1
- data/.github/workflows/release.yml +27 -8
- data/bin/mnconvert.jar +0 -0
- data/lib/mnconvert/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d036e9503179553454102ac5fb6c55405713125f7037da703d5971f4b19d2b2
|
4
|
+
data.tar.gz: 641fac834ebfbad585654b7b06d7b386ceda1a686b6d40ad83cacca9d391bc12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01d0cb65a2ca85b4813dff3cff16487e1a9e34625fbbefc7dcbd30047be05c2d10ac4c168b60dffc471c7e8ecf781278f92857edd689f27bf7f3deb7c3f76b59
|
7
|
+
data.tar.gz: 6ed5950edd323818e15b346678a4bf9f3c0a29b869a418f24a7a0e6c77396675387a741bad5de24bd0fca631d7a33f110d5665e5575637e7d517bfe888c9d95f
|
data/.github/workflows/rake.yml
CHANGED
@@ -4,7 +4,13 @@ on:
|
|
4
4
|
push:
|
5
5
|
tags:
|
6
6
|
- '*'
|
7
|
-
workflow_dispatch:
|
7
|
+
workflow_dispatch:
|
8
|
+
inputs:
|
9
|
+
next_version:
|
10
|
+
description: |
|
11
|
+
Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
|
12
|
+
required: true
|
13
|
+
default: 'skip'
|
8
14
|
|
9
15
|
jobs:
|
10
16
|
prepare-ieee:
|
@@ -13,32 +19,45 @@ jobs:
|
|
13
19
|
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
14
20
|
|
15
21
|
release:
|
16
|
-
runs-on: ubuntu-
|
22
|
+
runs-on: ubuntu-latest
|
17
23
|
needs: [ prepare-ieee ]
|
18
24
|
steps:
|
19
25
|
- uses: actions/checkout@v3
|
20
26
|
|
21
27
|
- uses: ruby/setup-ruby@v1
|
22
28
|
with:
|
23
|
-
ruby-version: '
|
29
|
+
ruby-version: '3.1'
|
24
30
|
bundler-cache: true
|
25
31
|
|
26
|
-
- run: |
|
27
|
-
rm -f bin/mnconvert.jar
|
28
|
-
bundle exec rake bin/mnconvert.jar
|
29
|
-
|
30
32
|
- uses: actions/download-artifact@v3
|
31
33
|
with:
|
32
34
|
name: ieee-test-input
|
33
35
|
path: ieee
|
34
36
|
|
37
|
+
- run: gem install gem-release
|
38
|
+
|
39
|
+
- if: github.event_name == 'workflow_dispatch' && inputs.next_version != 'skip'
|
40
|
+
run: |
|
41
|
+
git config --global user.name "metanorma-ci"
|
42
|
+
git config --global user.email "metanorma-ci@users.noreply.github.com"
|
43
|
+
gem bump --version ${{ inputs.next_version }} --no-commit
|
44
|
+
rm -f bin/mnconvert.jar
|
45
|
+
bundle exec rake bin/mnconvert.jar
|
46
|
+
|
35
47
|
- run: bundle exec rake
|
36
48
|
|
49
|
+
- if: github.event_name == 'workflow_dispatch' && inputs.next_version != 'skip'
|
50
|
+
run: |
|
51
|
+
git add -u bin/mnconvert.jar lib/mnconvert/version.rb
|
52
|
+
git commit -m "Bump version to ${mnconvert_VERSION}"
|
53
|
+
git tag v${mnconvert_VERSION}
|
54
|
+
git push origin HEAD:${GITHUB_REF} --tags
|
55
|
+
|
37
56
|
- name: publish to rubygems.org
|
38
57
|
env:
|
39
58
|
RUBYGEMS_API_KEY: ${{secrets.METANORMA_CI_RUBYGEMS_API_KEY}}
|
40
59
|
run: |
|
41
|
-
|
60
|
+
mkdir -p ~/.gem
|
42
61
|
touch ~/.gem/credentials
|
43
62
|
cat > ~/.gem/credentials << EOF
|
44
63
|
---
|
data/bin/mnconvert.jar
CHANGED
Binary file
|
data/lib/mnconvert/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mnconvert
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
14
|
mnconvert converts Metanorma XML into NISO STS XML.
|
@@ -57,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
57
57
|
- !ruby/object:Gem::Version
|
58
58
|
version: '0'
|
59
59
|
requirements: []
|
60
|
-
rubygems_version: 3.
|
60
|
+
rubygems_version: 3.3.26
|
61
61
|
signing_key:
|
62
62
|
specification_version: 4
|
63
63
|
summary: mnconvert converts Metanorma XML into NISO STS XML.
|