Skip to content

Commit

Permalink
Fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
lewispb committed May 9, 2024
1 parent 55dbb5e commit 2ca9aee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/release
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

VERSION=$1

printf "module MissionControl::Web\n VERSION = \"$VERSION\"\nend\n" > ./lib/mission_control/web/version.rb
printf "module MissionControl\n module Web\n VERSION = \"$VERSION\"\n end\nend\n" > ./lib/mission_control/web/version.rb
bundle
git add Gemfile.lock lib/mission_control/web/version.rb
git commit -m "Bump version for $VERSION"
Expand Down
6 changes: 4 additions & 2 deletions lib/mission_control/web/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module MissionControl::Web
VERSION = "0.1.0"
module MissionControl
module Web
VERSION = "0.1.0"
end
end

0 comments on commit 2ca9aee

Please sign in to comment.