Skip to content

Commit

Permalink
Bump fpm version
Browse files Browse the repository at this point in the history
Version 1.10.2 of fpm has the following bug, which prevents it from
building debs:

    jordansissel/fpm#1739

for example https://gitlab.com/gitlab-org/gitlab-runner/-/jobs/5089983316#L169

Bumping the version to the latest fixes this.
  • Loading branch information
Axel von Bertoldi committed Oct 13, 2023
1 parent 65fd04d commit dbcdc84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion magefiles/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"github.com/magefile/mage/mg"
"github.com/magefile/mage/sh"
"github.com/samber/lo"

"gitlab.com/gitlab-org/gitlab-runner/magefiles/constants"
"gitlab.com/gitlab-org/gitlab-runner/magefiles/packages"
)
Expand Down Expand Up @@ -143,7 +144,7 @@ func (p Package) {{ .Name }}() error {
// Deps makes sure the packages needed to build rpm and deb packages are available on the system
func (p Package) Deps() error {
if err := sh.Run("fpm", "--help"); err != nil {
return sh.RunV("gem", "install", "rake", "fpm:1.10.2", "--no-document")
return sh.RunV("gem", "install", "rake", "fpm:1.15.1", "--no-document")
}

return nil
Expand Down

0 comments on commit dbcdc84

Please sign in to comment.