Fix test, bump version for a test release

This commit is contained in:
Justin Hawkins 2023-11-26 18:53:52 +10:30
parent 5121438ffc
commit aa64e000ee
3 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
## [v1.1.1] - 2023-11-26 ## [v1.1.1] - 2023-11-26
- Fix bug where a brand-new config was created with an out-of-date version - 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 ## [v1.1.0] - 2023-11-25

View File

@ -65,7 +65,7 @@ type ConfigService struct {
func (cs *ConfigService) LoadTestConfig() { func (cs *ConfigService) LoadTestConfig() {
cs.LoadDefaultConfig() cs.LoadDefaultConfig()
cs.Config.Server.DownloadPath = "/tmp" 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() { func (cs *ConfigService) LoadDefaultConfig() {

View File

@ -15,7 +15,7 @@ import (
func main() { func main() {
versionInfo := &version.Manager{ 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) log.Printf("Starting gropple %s - https://github.com/tardisx/gropple", versionInfo.GetInfo().CurrentVersion)