Bump version to v0.6

master v0.6
Dessa Simpson 2021-02-25 19:56:14 -07:00
parent 84a22ccffd
commit b968f054d5
3 changed files with 8 additions and 3 deletions

View File

@ -8,4 +8,4 @@ CREATE OR REPLACE FUNCTION get_version() RETURNS VARCHAR
AS $$SELECT major || '.' || minor FROM version $$ AS $$SELECT major || '.' || minor FROM version $$
LANGUAGE SQL; LANGUAGE SQL;
INSERT INTO version (major,minor) VALUES (0,5); INSERT INTO version (major,minor) VALUES (0,6);

5
db/upgrade/v0.5-v0.6.sql Normal file
View File

@ -0,0 +1,5 @@
BEGIN;
UPDATE version SET minor = 6;
COMMIT;

View File

@ -5,8 +5,8 @@ import pg from "pg";
import db from "./db"; import db from "./db";
var versionMajor = 0; var versionMajor = 0;
var versionMinor = 5; var versionMinor = 6;
var versionPatch = 1; var versionPatch = 0;
export function getVersion() { export function getVersion() {
return `${versionMajor}.${versionMinor}.${versionPatch}` return `${versionMajor}.${versionMinor}.${versionPatch}`