From 5de2bd2e35ec2e3815c97a79fcb7e1d9945f8e69 Mon Sep 17 00:00:00 2001 From: Alessandro De Angelis Date: Mon, 8 Apr 2019 21:30:31 +0200 Subject: [PATCH] Updated readme and changelog --- CHANGELOG.md | 15 +++++++++++++++ README.md | 6 +++--- pkg/core/core.go | 2 +- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 09ac6ce5..69060ea8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ + +# [0.9 (v0.9)](https://github.com/Girbons/comics-downloader/releases/tag/v0.9) - 08 Apr 2019 + +# What's New + +* It's now possible to create a `config.yaml` to specify the default output format + +# Improvments + +* It's now possible to omit the `url` parameter + +[Changes][v0.9] + + # [0.8 (v0.8)](https://github.com/Girbons/comics-downloader/releases/tag/v0.8) - 06 Apr 2019 @@ -148,6 +162,7 @@ Well, this is the first release :) [Changes][v0.1.0] +[v0.9]: https://github.com/Girbons/comics-downloader/compare/v0.8...v0.9 [v0.8]: https://github.com/Girbons/comics-downloader/compare/v0.7.1...v0.8 [v0.7.1]: https://github.com/Girbons/comics-downloader/compare/v0.7...v0.7.1 [v0.7]: https://github.com/Girbons/comics-downloader/compare/v0.6.1...v0.7 diff --git a/README.md b/README.md index 0c560777..cc367bc2 100644 --- a/README.md +++ b/README.md @@ -20,9 +20,9 @@ Download the latest release: -- [Linux](https://github.com/Girbons/comics-downloader/releases/download/v0.8/comics-downloader) -- [OSX](https://github.com/Girbons/comics-downloader/releases/download/v0.8/comics-downloader-osx) -- [Windows](https://github.com/Girbons/comics-downloader/releases/download/v0.8/comics-downloader.exe) +- [Linux](https://github.com/Girbons/comics-downloader/releases/download/v0.9/comics-downloader) +- [OSX](https://github.com/Girbons/comics-downloader/releases/download/v0.9/comics-downloader-osx) +- [Windows](https://github.com/Girbons/comics-downloader/releases/download/v0.9/comics-downloader.exe) Put the script under a folder. diff --git a/pkg/core/core.go b/pkg/core/core.go index 0f9a61d6..710abd62 100644 --- a/pkg/core/core.go +++ b/pkg/core/core.go @@ -82,7 +82,7 @@ func (comic *Comic) SetConfig(config *config.ComicConfig) { // getConfigValues will try to get some func (comic *Comic) getConfigValues() { // retrieve values from config file if exist - if comic.Format != "" { + if comic.Format == "" { if configFormat := comic.Config.DefaultOutputFormat; configFormat != "" { comic.Format = configFormat }