Skip to content

Commit

Permalink
Merge pull request #6080 from samvera/prep-400
Browse files Browse the repository at this point in the history
Release Hyrax 4.0.0
  • Loading branch information
dlpierce committed May 30, 2023
2 parents 071456f + 5ad2498 commit 815e0ab
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CONTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ We publish several Hyrax images to the [GitHub container registry][ghcr] under
the [Samvera organization][samvera-packages]. To build them:

```sh
export HYRAX_VERSION=v4.0.0.rc3 # or desired version
export HYRAX_VERSION=v4.0.0 # or desired version
git checkout hyrax-$HYRAX_VERSION

docker build --target hyrax-base --tag ghcr.io/samvera/hyrax/hyrax-base:$(git rev-parse HEAD) .
Expand Down
8 changes: 4 additions & 4 deletions documentation/legacyREADME.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ The Samvera community is here to help. Please see our [support guide](../.github
# Getting started

This document contains instructions specific to setting up an app with __Hyrax
v4.0.0.rc3__. If you are looking for instructions on installing a different
v4.0.0__. If you are looking for instructions on installing a different
version, be sure to select the appropriate branch or tag from the drop-down
menu above.

Expand Down Expand Up @@ -139,11 +139,11 @@ Starting up Redis will depend on your operating system, and may in fact already

## Rails

Hyrax requires Rails 5. We recommend the latest Rails 5.2 release.
Hyrax requires Rails 6. We recommend the latest Rails 6.1 release.

```
# If you don't already have Rails at your disposal...
gem install rails -v 5.2.6
gem install rails -v 6.1.7.3
```

### JavaScript runtime
Expand All @@ -159,7 +159,7 @@ NOTE: The steps need to be done in order to create a new Hyrax based app.
Generate a new Rails application using the template.

```
rails _6.1.7.3_ new my_app -m https://raw.githubusercontent.com/samvera/hyrax/hyrax-v4.0.0.rc3/template.rb
rails _6.1.7.3_ new my_app -m https://raw.githubusercontent.com/samvera/hyrax/hyrax-v4.0.0/template.rb
```

Generating a new Rails application using Hyrax's template above takes cares of a number of steps for you, including:
Expand Down
2 changes: 1 addition & 1 deletion lib/hyrax/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: true
module Hyrax
VERSION = '4.0.0.rc3'
VERSION = '4.0.0'
end
2 changes: 1 addition & 1 deletion template.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true
# Hack for https://github.com/rails/rails/issues/35153
gsub_file 'Gemfile', /^gem ["']sqlite3["']$/, 'gem "sqlite3", "~> 1.3.0"'
gem 'hyrax', '4.0.0.rc3'
gem 'hyrax', '4.0.0'
run 'bundle install'
generate 'hyrax:install', '-f'

0 comments on commit 815e0ab

Please sign in to comment.