From 70eb9e441fc6b83c05d0158f0e8be5e102f84c03 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Sat, 24 Apr 2021 16:40:53 +0200 Subject: [PATCH] add rclone support --- CHANGELOG.md | 6 ++++++ internal/backend.go | 2 +- internal/config.go | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3cbd97a..9394a31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.0.6] - 2021-04-24 + +### Added + +- Support for rclone + ## [1.0.5] - 2021-04-24 ### Fixed diff --git a/internal/backend.go b/internal/backend.go index 1d978c8..574b85e 100644 --- a/internal/backend.go +++ b/internal/backend.go @@ -48,7 +48,7 @@ func (b Backend) generateRepo() (string, error) { } } return fmt.Sprintf("%s:%s", b.Type, parsed.String()), nil - case "b2", "azure", "gs", "s3", "sftp": + case "b2", "azure", "gs", "s3", "sftp", "rclone": return fmt.Sprintf("%s:%s", b.Type, b.Path), nil default: return "", fmt.Errorf("backend type \"%s\" is invalid", b.Type) diff --git a/internal/config.go b/internal/config.go index 4b18a7f..1814178 100644 --- a/internal/config.go +++ b/internal/config.go @@ -12,7 +12,7 @@ import ( "github.com/spf13/viper" ) -const VERSION = "1.0.5" +const VERSION = "1.0.6" var CI bool = false var VERBOSE bool = false