From aa64e000ee02a789b369707e1e6cb12fcf87f291 Mon Sep 17 00:00:00 2001 From: Justin Hawkins Date: Sun, 26 Nov 2023 18:53:52 +1030 Subject: [PATCH] Fix test, bump version for a test release --- CHANGELOG.md | 1 + config/config.go | 2 +- main.go | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 633dff0..f797030 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file. ## [v1.1.1] - 2023-11-26 - Fix bug where a brand-new config was created with an out-of-date version +- Fix for portable mode and using executable in the current working directory ## [v1.1.0] - 2023-11-25 diff --git a/config/config.go b/config/config.go index 09383fc..9b17795 100644 --- a/config/config.go +++ b/config/config.go @@ -65,7 +65,7 @@ type ConfigService struct { func (cs *ConfigService) LoadTestConfig() { cs.LoadDefaultConfig() cs.Config.Server.DownloadPath = "/tmp" - cs.Config.DownloadProfiles = []DownloadProfile{{Name: "test profile", Command: "sleep", Args: []string{"5"}}} + cs.Config.DownloadProfiles = []DownloadProfile{{Name: "test profile", Command: "/bin/sleep", Args: []string{"5"}}} } func (cs *ConfigService) LoadDefaultConfig() { diff --git a/main.go b/main.go index 25eccaa..b41c5a5 100644 --- a/main.go +++ b/main.go @@ -15,7 +15,7 @@ import ( func main() { versionInfo := &version.Manager{ - VersionInfo: version.Info{CurrentVersion: "v1.1.1"}, + VersionInfo: version.Info{CurrentVersion: "v1.1.1-alpha.1"}, } log.Printf("Starting gropple %s - https://github.com/tardisx/gropple", versionInfo.GetInfo().CurrentVersion)