From ed3c17d678b27925287c0b71f31917abaf19e17f Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Sat, 20 Nov 2021 17:09:42 +0100 Subject: [PATCH] migration docs --- docs/markdown/migration/index.md | 4 ++++ internal/config.go | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 docs/markdown/migration/index.md diff --git a/docs/markdown/migration/index.md b/docs/markdown/migration/index.md new file mode 100644 index 0000000..624561d --- /dev/null +++ b/docs/markdown/migration/index.md @@ -0,0 +1,4 @@ +# Migration + +- [From 0.x to 1.0](/migration/0.x_1.0) +- [From 1.4 to 1.5](/migration/1.4_1.5) diff --git a/internal/config.go b/internal/config.go index 108bd00..9d5c253 100644 --- a/internal/config.go +++ b/internal/config.go @@ -77,7 +77,7 @@ func GetConfig() *Config { } else { // Check for version if version != 2 { - exitConfig(nil, "unsupported version number. please check the docs") + exitConfig(nil, "unsupported config version number. please check the docs for migration\nhttps://autorestic.vercel.app/migration/") } }