Fix test, bump version for a test release
This commit is contained in:
parent
5121438ffc
commit
aa64e000ee
@ -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
|
||||||
|
|
||||||
|
@ -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() {
|
||||||
|
2
main.go
2
main.go
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user