Skip to content

Commit

Permalink
Bump adiwg-mdtranslator version to 2.21.0 and add build/publish scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jwaspin committed Feb 11, 2025
1 parent 3c508db commit fba7ce1
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
adiwg-mdtranslator (2.20.0.pre.beta.10)
adiwg-mdtranslator (2.21.0)
adiwg-mdcodes (= 2.10.1)
adiwg-mdjson_schemas (= 2.10.1)
builder (~> 3.2)
Expand Down
2 changes: 1 addition & 1 deletion lib/adiwg/mdtranslator/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
module ADIWG
module Mdtranslator
# current mdtranslator version
VERSION = "2.21.0-beta.1"
VERSION = "2.21.0"
end
end

Expand Down
4 changes: 4 additions & 0 deletions scripts/build-gem.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

# This script builds the gem and runs tests.
bundle install && bundle exec rake test && gem build adiwg-mdtranslator.gemspec
9 changes: 9 additions & 0 deletions scripts/publish-gem.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

# Verify that the gemspec file is provided as an argument
if [ -z "$1" ]; then
echo "Usage: $0 <gemspec-file>"
exit 1
fi

gem push "$1"

0 comments on commit fba7ce1

Please sign in to comment.