mnconvert 1.27.0 → 1.29.0

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: 5262b0dd8d1ab6d3e77834d2f7994758aea4dc16f2662458f2e4391af149882b
4
- data.tar.gz: 27532fd9b7943c394b2c8caff126264b35c11cfa16e499c7baab70af435a25da
3
+ metadata.gz: 1b6e2c5db73859043ff7cdf0921fce3d41d055c13379e4f51463a1505b17bc3a
4
+ data.tar.gz: fbc735219b39294e19b2f66fe387b80d5770378153bc6d88cac6f8aa602eb4e5
5
5
  SHA512:
6
- metadata.gz: 5248b2737581c2f6a74595b9e80a18424d2c31b5e40bc040a7534e8b414f59dfddb0dfb36068c8d98da240230c3b6ca1f7341a7af0162c12cc888b9328fec3bf
7
- data.tar.gz: bb1f189795fcabfb57c24402295f4c2c970f4680bccacbc6ea4eacc2efc268347182672891bb45415d6ff9d28ade63ab84886955188c8c05788714aef08b20fb
6
+ metadata.gz: 23b1ca3f47b3409fb5496c1383d6655ad0d371a2f88e24f38dbee986a0696e8fc39be2a00e8cb1c292ffe6322ae7b887d931262fc91c91b8077dcb2349668bfa
7
+ data.tar.gz: 547889fa7a541a97358c778f3d6600ac92fa78bc258a3087a56871915e4753978db050814251e30beae01f0910afbf243fc981177dc397009896651107620f26
@@ -32,7 +32,7 @@ jobs:
32
32
  bundler-cache: true
33
33
  working-directory: ieee/samples
34
34
 
35
- - uses: actions-mn/cli/site-gen@main
35
+ - uses: actions-mn/site-gen@v1
36
36
  with:
37
37
  source-path: ieee/samples
38
38
  use-bundler: true
@@ -42,6 +42,4 @@ jobs:
42
42
  name: ieee-test-input
43
43
  path: ieee
44
44
 
45
- - run: ls -R ieee
46
-
47
45
  - run: bundle exec rake
@@ -11,7 +11,7 @@ jobs:
11
11
  pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
12
12
 
13
13
  tag_repo:
14
- runs-on: ubuntu-18.04
14
+ runs-on: ubuntu-latest
15
15
  if: startsWith(github.event.client_payload.ref, 'refs/tags/v')
16
16
  needs: [ prepare-ieee ]
17
17
  steps:
@@ -4,7 +4,13 @@ on:
4
4
  push:
5
5
  tags:
6
6
  - '*'
7
- workflow_dispatch: # just for manual release if previous was failed
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-18.04
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: '2.7'
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
- gem install gem-release
60
+ mkdir -p ~/.gem
42
61
  touch ~/.gem/credentials
43
62
  cat > ~/.gem/credentials << EOF
44
63
  ---
data/bin/mnconvert.jar CHANGED
Binary file
@@ -1,4 +1,4 @@
1
1
  module MnConvert
2
- VERSION = "1.27.0"
2
+ VERSION = "1.29.0"
3
3
  MNCONVERT_JAR_VERSION = VERSION
4
4
  end
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.27.0
4
+ version: 1.29.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-14 00:00:00.000000000 Z
11
+ date: 2022-11-26 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.1.6
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.