Skip to content

Commit

Permalink
hotfix: self update not working (#15)
Browse files Browse the repository at this point in the history
* hotfix: fix self updater

* bump: changelog n version
  • Loading branch information
fajrifernanda authored Apr 14, 2020
1 parent b21693d commit c1ec685
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#Fer

<a name="v1.5.3"></a>
## [v1.5.3] - 2020-04-14
### Fixes
- fix self updater


<a name="v1.5.2"></a>
## [v1.5.2] - 2020-04-14
### Fixes
Expand Down Expand Up @@ -72,7 +78,8 @@
- db migrationfile generator ([#3](https://github.com/kumparan/fer/issues/3))


[Unreleased]: https://github.com/kumparan/fer/compare/v1.5.2...HEAD
[Unreleased]: https://github.com/kumparan/fer/compare/v1.5.3...HEAD
[v1.5.3]: https://github.com/kumparan/fer/compare/v1.5.2...v1.5.3
[v1.5.2]: https://github.com/kumparan/fer/compare/v1.5.1...v1.5.2
[v1.5.1]: https://github.com/kumparan/fer/compare/v1.5.0...v1.5.1
[v1.5.0]: https://github.com/kumparan/fer/compare/v1.4.1...v1.5.0
Expand Down
2 changes: 1 addition & 1 deletion config/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package config

// Version define version of fer
const Version = "v1.5.2"
const Version = "v1.5.3"
2 changes: 1 addition & 1 deletion console/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var updateCmd = &cobra.Command{
}

func updateVersion(cmd *cobra.Command, args []string) {
updateCommand := exec.Command("GO111MODULE=on", "go", "get", "github.com/kumparan/fer@latest")
updateCommand := exec.Command("bash", "GO111MODULE=on", "go", "get", "github.com/kumparan/fer@latest")
PrintInfo("Updating fer...")
err := updateCommand.Run()
if err != nil {
Expand Down

0 comments on commit c1ec685

Please sign in to comment.