Skip to content

Commit

Permalink
move version to release script
Browse files Browse the repository at this point in the history
  • Loading branch information
joelhawksley committed Jul 18, 2022
1 parent 4497c3e commit 2bc8928
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions script/publish
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
# Publish gem
bundle exec rake release

# Update version info in data
version=$(ruby ./lib/view_component/version.rb)
echo "version: $version" >> docs/_data/library.yml

# Publish updated docs
git branch -D gh-pages
git checkout -b gh-pages main
Expand Down
1 change: 1 addition & 0 deletions script/release
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ main() {
update_readme $major $minor $patch
update_ruby_version $major $minor $patch
update_gemfiles $major $minor $patch
echo "version: $major.$minor.$patch" >> docs/_data/library.yml
add_changed_files $major $minor $patch
commit $major $minor $patch
push $major $minor $patch
Expand Down

0 comments on commit 2bc8928

Please sign in to comment.