Skip to content

Commit fba7ce1

Browse files
committed
Bump adiwg-mdtranslator version to 2.21.0 and add build/publish scripts
1 parent 3c508db commit fba7ce1

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
adiwg-mdtranslator (2.20.0.pre.beta.10)
4+
adiwg-mdtranslator (2.21.0)
55
adiwg-mdcodes (= 2.10.1)
66
adiwg-mdjson_schemas (= 2.10.1)
77
builder (~> 3.2)

lib/adiwg/mdtranslator/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
module ADIWG
110110
module Mdtranslator
111111
# current mdtranslator version
112-
VERSION = "2.21.0-beta.1"
112+
VERSION = "2.21.0"
113113
end
114114
end
115115

scripts/build-gem.sh

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
# This script builds the gem and runs tests.
4+
bundle install && bundle exec rake test && gem build adiwg-mdtranslator.gemspec

scripts/publish-gem.sh

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
# Verify that the gemspec file is provided as an argument
4+
if [ -z "$1" ]; then
5+
echo "Usage: $0 <gemspec-file>"
6+
exit 1
7+
fi
8+
9+
gem push "$1"

0 commit comments

Comments
 (0)