Skip to content

Commit 5f4cfa6

Browse files
committed
[F] Add release Rake task
1 parent 53c94f9 commit 5f4cfa6

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

api/db/structure.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
\restrict aFbNPfJ9QJhNrDvHxcEauL46R8ZoAcf6sxZdkQYngf6yB0PX4fAzrMSUaWBNy8V
1+
\restrict 71IjF0CpVJbmpl2wkO8TeRrlRW0wJcOIZBAi86pXHPlNwLccXXCcqRdUV89aUYj
22

33
-- Dumped from database version 13.22
44
-- Dumped by pg_dump version 13.22 (Debian 13.22-1.pgdg11+1)
@@ -7952,7 +7952,7 @@ ALTER TABLE ONLY public.reading_group_composite_entries
79527952
-- PostgreSQL database dump complete
79537953
--
79547954

7955-
\unrestrict aFbNPfJ9QJhNrDvHxcEauL46R8ZoAcf6sxZdkQYngf6yB0PX4fAzrMSUaWBNy8V
7955+
\unrestrict 71IjF0CpVJbmpl2wkO8TeRrlRW0wJcOIZBAi86pXHPlNwLccXXCcqRdUV89aUYj
79567956

79577957
SET search_path TO "$user", public;
79587958

api/lib/tasks/release.rake

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# frozen_string_literal: true
2+
3+
namespace :manifold do
4+
desc "Performs release tasks - database migration, database reseed, and version upgrade tasks"
5+
task release: :environment do
6+
Rake::Task["db:migrate"].invoke
7+
Rake::Task["db:seed"].invoke
8+
Rake::Task["manifold:upgrade"].invoke
9+
end
10+
end

0 commit comments

Comments
 (0)