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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43bdc6398fc68eefbc0cfb8beafd6380ec150ed550aef3330dcf57f6fe7c6a46
4
- data.tar.gz: 1d37bd231c680fabb5d41bf60b9bb4570524dacf0901822756b66b8fec51dc90
3
+ metadata.gz: 6d036e9503179553454102ac5fb6c55405713125f7037da703d5971f4b19d2b2
4
+ data.tar.gz: 641fac834ebfbad585654b7b06d7b386ceda1a686b6d40ad83cacca9d391bc12
5
5
  SHA512:
6
- metadata.gz: ee753693f2aee56706d3c3b552172e2ab47eff742de9a1205d8440b7ec3c95ab036113af514e007bbd9ac107ef4d791ea3a49bfa7c215a15d5c2112361d3c8f5
7
- data.tar.gz: 3514bb7b0185851836b7caf5a39d692fe4374a6d47ade07b0b6f163f03897da53001f22aecfbccd5371260e82add0026fb8bd60f3116b96d569fa8084d3b922b
6
+ metadata.gz: 01d0cb65a2ca85b4813dff3cff16487e1a9e34625fbbefc7dcbd30047be05c2d10ac4c168b60dffc471c7e8ecf781278f92857edd689f27bf7f3deb7c3f76b59
7
+ data.tar.gz: 6ed5950edd323818e15b346678a4bf9f3c0a29b869a418f24a7a0e6c77396675387a741bad5de24bd0fca631d7a33f110d5665e5575637e7d517bfe888c9d95f
@@ -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.28.0"
2
+ VERSION = "1.30.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.28.0
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-23 00:00:00.000000000 Z
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.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.