Skip to content

Commit

Permalink
Merge pull request #112 from metanorma/feature/gem-install-with-expli…
Browse files Browse the repository at this point in the history
…cit-platform

metanorma/metanorma-un#196 preinstall lighty for ruby 2.7
  • Loading branch information
CAMOBAP authored Jun 22, 2023
2 parents b921444 + f7278e5 commit 4d31300
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/mn-processor-rake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,13 @@ jobs:
rubygems: ${{ matrix.ruby.rubygems }}
bundler-cache: true

- run: gem install metanorma-cli
# Worlaround for https://github.com/metanorma/metanorma-un/issues/196
- run: |
if [ "${{ matrix.ruby.version }}" = "2.7" ]; then
gem install lightly -v 0.3.3
fi
gem install metanorma-cli
shell: bash
- uses: actions-mn/cli/new@main
with:
Expand Down
5 changes: 5 additions & 0 deletions gemver-to-semver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ def convert(verstr, is_chocolatey, strip_prefix, keep_head)
{ expected: "1.2.3-pre", options: [CHOCOLATEY] },
{ expected: "1.2.3-pre", options: [STRIP] },
],
# "1.6.0.1": [
# { expected: "1.6.0-rc.1", options: [DEFAULTS] },
# { expected: "1.6.0.1", options: [CHOCOLATEY] },
# { expected: "1.6.0-rc.1", options: [STRIP] },
# ]
}
succeed = true
test_suite.each do |inver, test_cases|
Expand Down

0 comments on commit 4d31300

Please sign in to comment.