Skip to content

Commit

Permalink
Update version from 1.13.11-beta to 1.13.11.8
Browse files Browse the repository at this point in the history
The version number in the main.go file has been updated from 1.13.11-beta to 1.13.11.8. This change affects the version number displayed when starting the application, the version check before extracting the bundle data, and the version written to the VERSION file.
  • Loading branch information
skrashevich committed Nov 20, 2023
1 parent a8572c3 commit 4778318
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .build/bundle/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ func uninstall(c *cli.Context) error {
func execute(c *cli.Context) error {
store := c.String("store")
store = filepath.Join(store, "bundle")
fmt.Println("Starting double-take 1.13.11-beta with store at", store)
fmt.Println("Starting double-take 1.13.11.8 with store at", store)
if err := mountProc(store); err != nil {
fmt.Println("failed mounting /proc")
}
Expand Down Expand Up @@ -324,8 +324,8 @@ func start(c *cli.Context) error {
version = string(d)
}

if version != "1.13.11-beta" {
fmt.Printf("Extracting double-take 1.13.11-beta bundle data (xz) into %s ...\n", store)
if version != "1.13.11.8" {
fmt.Printf("Extracting double-take 1.13.11.8 bundle data (xz) into %s ...\n", store)
os.RemoveAll(path.Join(store, "bundle"))
err := copyBinary(store, c.Bool("continue-on-error"))
if err != nil {
Expand All @@ -334,7 +334,7 @@ func start(c *cli.Context) error {
}
fmt.Println("Failed copying binaries:", err.Error())
}
must(ioutil.WriteFile(path.Join(store, "VERSION"), []byte("1.13.11-beta"), os.ModePerm))
must(ioutil.WriteFile(path.Join(store, "VERSION"), []byte("1.13.11.8"), os.ModePerm))
}

var mounts []string
Expand Down

0 comments on commit 4778318

Please sign in to comment.