Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.56 KB

README.md

File metadata and controls

38 lines (25 loc) · 1.56 KB
  • Note: There can be a case when the uploaded build fails on launchpad with the below error:

    + go build -mod=vendor -v -o obj-x86_64-linux-gnu/bin/tkn -ldflags -X github.com/tektoncd/cli/pkg/cmd/version.clientVersion=0.25.1 ./cmd/tkn
    build flag -mod=vendor only valid when using modules
    make[1]: *** [debian/rules:17: override_dh_auto_build] Error 1
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:14: build] Error 2
    dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
    --------------------------------------------------------------------------------
    

    In this case, edit the rules file. Try appending GO111MODULE=on at Line #20.

  • Note: If the first build fails, then in order to repush the new build, increment the release version in buildpackage.sh at Line #6