mnconvert 1.41.0 → 1.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/RELEASE_ISSUE_TEMPLATE.md +5 -0
- data/.github/workflows/prepare.yml +5 -1
- data/.github/workflows/rake.yml +16 -10
- data/.github/workflows/release-tag.yml +23 -12
- data/.github/workflows/release.yml +13 -17
- data/bin/mnconvert.jar +0 -0
- data/lib/mnconvert/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 975dedb8406ab53a2d91e0134e5011dd921e53fa11de8696f09e627ee486069e
|
4
|
+
data.tar.gz: fd8edac1a08600b68aa963443fa9811ad92a023568e0801dc1956ff53d6da43e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8f02a0945a8c8886375f25b9c1c0804b37054cf4027a27f030b97b78fd2abb202f71e0ca82ba6c6a0452ecb58922184186af685b5218d74af95117a1d17fe65
|
7
|
+
data.tar.gz: d7bddaa7b2a40c9fe28bd8d3e67d48acb2161aaec1760fb0054a02f0935b1dc339a0023bef54e869c75040e2d89981748f9f8e06e453395ddf24ea657026a654
|
@@ -7,8 +7,12 @@ on:
|
|
7
7
|
required: false
|
8
8
|
|
9
9
|
jobs:
|
10
|
+
prepare:
|
11
|
+
uses: metanorma/ci/.github/workflows/prepare-rake.yml@main
|
12
|
+
|
10
13
|
prepare-ieee:
|
11
14
|
runs-on: ubuntu-latest
|
15
|
+
needs: prepare
|
12
16
|
concurrency:
|
13
17
|
group: '${{ github.workflow }}-${{ github.head_ref || github.ref_name }}'
|
14
18
|
cancel-in-progress: true
|
@@ -28,7 +32,7 @@ jobs:
|
|
28
32
|
|
29
33
|
- uses: ruby/setup-ruby@v1
|
30
34
|
with:
|
31
|
-
ruby-version:
|
35
|
+
ruby-version: ${{ needs.prepare.outputs.default-ruby-version }}
|
32
36
|
bundler-cache: true
|
33
37
|
working-directory: ieee/samples
|
34
38
|
|
data/.github/workflows/rake.yml
CHANGED
@@ -7,26 +7,31 @@ on:
|
|
7
7
|
pull_request:
|
8
8
|
|
9
9
|
jobs:
|
10
|
+
prepare:
|
11
|
+
uses: metanorma/ci/.github/workflows/prepare-rake.yml@main
|
12
|
+
|
10
13
|
prepare-ieee:
|
11
14
|
uses: ./.github/workflows/prepare.yml
|
12
15
|
secrets:
|
13
16
|
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
14
17
|
|
15
18
|
rake:
|
16
|
-
name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }}
|
19
|
+
name: Test on Ruby ${{ matrix.ruby.version }} ${{ matrix.os }}
|
20
|
+
runs-on: ${{ matrix.os }}
|
21
|
+
|
22
|
+
needs: [prepare, prepare-ieee]
|
23
|
+
if: needs.prepare.outputs.push-for-tag != 'true'
|
24
|
+
|
17
25
|
concurrency:
|
18
|
-
group: '${{ github.workflow }}-${{ matrix.os }}-${{ matrix.ruby }}-${{ github.head_ref || github.ref_name }}'
|
26
|
+
group: '${{ github.workflow }}-${{ matrix.os }}-${{ matrix.ruby.version }}-${{ github.head_ref || github.ref_name }}'
|
19
27
|
cancel-in-progress: true
|
20
|
-
|
21
|
-
|
22
|
-
continue-on-error: ${{ matrix.experimental }}
|
28
|
+
|
29
|
+
continue-on-error: ${{ matrix.ruby.experimental }}
|
23
30
|
strategy:
|
24
31
|
fail-fast: false
|
25
32
|
max-parallel: 5
|
26
|
-
matrix:
|
27
|
-
|
28
|
-
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
29
|
-
experimental: [ false ]
|
33
|
+
matrix: ${{ fromJson(needs.prepare.outputs.matrix) }}
|
34
|
+
|
30
35
|
steps:
|
31
36
|
- uses: actions/checkout@v3
|
32
37
|
with:
|
@@ -34,8 +39,9 @@ jobs:
|
|
34
39
|
|
35
40
|
- uses: ruby/setup-ruby@v1
|
36
41
|
with:
|
37
|
-
ruby-version: ${{ matrix.ruby }}
|
42
|
+
ruby-version: ${{ matrix.ruby.version }}
|
38
43
|
bundler-cache: true
|
44
|
+
rubygems: ${{ matrix.ruby.rubygems }}
|
39
45
|
|
40
46
|
- uses: actions/download-artifact@v3
|
41
47
|
with:
|
@@ -5,6 +5,9 @@ on:
|
|
5
5
|
types: [ metanorma/mnconvert ]
|
6
6
|
|
7
7
|
jobs:
|
8
|
+
prepare:
|
9
|
+
uses: metanorma/ci/.github/workflows/prepare-rake.yml@main
|
10
|
+
|
8
11
|
prepare-ieee:
|
9
12
|
uses: ./.github/workflows/prepare.yml
|
10
13
|
secrets:
|
@@ -13,12 +16,17 @@ jobs:
|
|
13
16
|
tag_repo:
|
14
17
|
runs-on: ubuntu-latest
|
15
18
|
if: startsWith(github.event.client_payload.ref, 'refs/tags/v')
|
16
|
-
needs: [ prepare-ieee ]
|
19
|
+
needs: [ prepare, prepare-ieee ]
|
17
20
|
steps:
|
18
21
|
- uses: actions/checkout@v3
|
19
22
|
with:
|
20
23
|
token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
21
24
|
|
25
|
+
- uses: actions/download-artifact@v3
|
26
|
+
with:
|
27
|
+
name: ieee-test-input
|
28
|
+
path: ieee
|
29
|
+
|
22
30
|
- run: |
|
23
31
|
git config --global user.name "metanorma-ci"
|
24
32
|
git config --global user.email "metanorma-ci@users.noreply.github.com"
|
@@ -29,21 +37,14 @@ jobs:
|
|
29
37
|
|
30
38
|
- uses: ruby/setup-ruby@v1
|
31
39
|
with:
|
32
|
-
ruby-version:
|
40
|
+
ruby-version: ${{ needs.prepare.outputs.default-ruby-version }}
|
33
41
|
bundler-cache: true
|
34
42
|
|
35
|
-
- run: gem install gem-release
|
36
|
-
|
37
|
-
- run: gem bump --version ${mnconvert_VERSION} --no-commit
|
38
|
-
|
39
43
|
- run: |
|
40
|
-
|
41
|
-
|
44
|
+
gem install gem-release
|
45
|
+
gem bump --version ${mnconvert_VERSION} --no-commit
|
42
46
|
|
43
|
-
-
|
44
|
-
with:
|
45
|
-
name: ieee-test-input
|
46
|
-
path: ieee
|
47
|
+
- run: rm -f bin/mnconvert.jar
|
47
48
|
|
48
49
|
- run: bundle exec rake
|
49
50
|
|
@@ -53,3 +54,13 @@ jobs:
|
|
53
54
|
git commit -m "Bump version to ${mnconvert_VERSION}"
|
54
55
|
git tag v${mnconvert_VERSION}
|
55
56
|
git push origin HEAD:${GITHUB_REF} --tags
|
57
|
+
|
58
|
+
- if: failure()
|
59
|
+
uses: JasonEtco/create-an-issue@v2
|
60
|
+
env:
|
61
|
+
GITHUB_TOKEN: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
62
|
+
with:
|
63
|
+
assignees: CAMOBAP
|
64
|
+
update_existing: true
|
65
|
+
search_existing: all
|
66
|
+
filename: .github/RELEASE_ISSUE_TEMPLATE.md
|
@@ -13,6 +13,9 @@ on:
|
|
13
13
|
default: 'skip'
|
14
14
|
|
15
15
|
jobs:
|
16
|
+
prepare:
|
17
|
+
uses: metanorma/ci/.github/workflows/prepare-rake.yml@main
|
18
|
+
|
16
19
|
prepare-ieee:
|
17
20
|
uses: ./.github/workflows/prepare.yml
|
18
21
|
secrets:
|
@@ -20,13 +23,17 @@ jobs:
|
|
20
23
|
|
21
24
|
release:
|
22
25
|
runs-on: ubuntu-latest
|
23
|
-
needs: [ prepare-ieee ]
|
26
|
+
needs: [ prepare, prepare-ieee ]
|
24
27
|
steps:
|
25
28
|
- uses: actions/checkout@v3
|
26
29
|
|
30
|
+
- run: |
|
31
|
+
git config user.name "metanorma-ci"
|
32
|
+
git config user.email "metanorma-ci@users.noreply.github.com"
|
33
|
+
|
27
34
|
- uses: ruby/setup-ruby@v1
|
28
35
|
with:
|
29
|
-
ruby-version:
|
36
|
+
ruby-version: ${{ needs.prepare.outputs.default-ruby-version }}
|
30
37
|
bundler-cache: true
|
31
38
|
|
32
39
|
- uses: actions/download-artifact@v3
|
@@ -38,8 +45,6 @@ jobs:
|
|
38
45
|
|
39
46
|
- if: github.event_name == 'workflow_dispatch' && inputs.next_version != 'skip'
|
40
47
|
run: |
|
41
|
-
git config --global user.name "metanorma-ci"
|
42
|
-
git config --global user.email "metanorma-ci@users.noreply.github.com"
|
43
48
|
gem bump --version ${{ inputs.next_version }} --no-commit
|
44
49
|
rm -f bin/mnconvert.jar
|
45
50
|
bundle exec rake bin/mnconvert.jar
|
@@ -53,16 +58,7 @@ jobs:
|
|
53
58
|
git tag v${mnconvert_VERSION}
|
54
59
|
git push origin HEAD:${GITHUB_REF} --tags
|
55
60
|
|
56
|
-
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
mkdir -p ~/.gem
|
61
|
-
touch ~/.gem/credentials
|
62
|
-
cat > ~/.gem/credentials << EOF
|
63
|
-
---
|
64
|
-
:rubygems_api_key: ${RUBYGEMS_API_KEY}
|
65
|
-
EOF
|
66
|
-
chmod 0600 ~/.gem/credentials
|
67
|
-
git status
|
68
|
-
gem release
|
61
|
+
- uses: actions-mn/gem-release@main
|
62
|
+
with:
|
63
|
+
api-key: ${{ secrets.METANORMA_CI_RUBYGEMS_API_KEY }}
|
64
|
+
release-command: gem release
|
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.43.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: 2023-02-
|
11
|
+
date: 2023-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
14
|
mnconvert converts Metanorma XML into NISO STS XML.
|
@@ -20,6 +20,7 @@ executables: []
|
|
20
20
|
extensions: []
|
21
21
|
extra_rdoc_files: []
|
22
22
|
files:
|
23
|
+
- ".github/RELEASE_ISSUE_TEMPLATE.md"
|
23
24
|
- ".github/workflows/prepare.yml"
|
24
25
|
- ".github/workflows/rake.yml"
|
25
26
|
- ".github/workflows/release-tag.yml"
|