Giter Site home page Giter Site logo

Comments (12)

jesseduffield avatar jesseduffield commented on May 20, 2024 5

we have LIFTOFF https://github.com/jesseduffield/lazygit/releases (note I've removed the version number from the end of the file because we now store that in the binary itself)

from lazygit.

cookiengineer avatar cookiengineer commented on May 20, 2024 1

@jesseduffield What I did for my projects is that on my buildbot I use curl to upload the binaries into the releases section automatically after they've been built and tested.

AFAIK circle and travis both have a github releases API that also allows you to push the binaries to github afterwards, but I don't know their limitations on that.

(My binaries were too big, as it was around 12GB of system images etc. so I had to use a VPS for that.)

from lazygit.

fleaz avatar fleaz commented on May 20, 2024 1

Hey,

I started to use GoReleaser a few days ago for some of my Go projects. You have a pretty simple .goreleaser.yml in your repository and when you run goreleaser on a commit with a tag, it will automatically build binarys for macos/linux/windows and also 32/64bit depending on your configuration and because you gave him an API token for Github it will push them directly to the 'Releases' section.
You can take a look at my testrepo which contains configuration for GoReleaser and also TravisCI to automatically build new tags.

Felix

from lazygit.

jesseduffield avatar jesseduffield commented on May 20, 2024

Yeah that sounds like a good idea. I'm not very across how to set up a good release workflow. There's a PR (#20) up that does this for ubuntu but it's pending my question about how to update etc. Does anybody have some pointers on the best way to do this?

from lazygit.

dawidd6 avatar dawidd6 commented on May 20, 2024

Maybe build binary on some kind of CI service like travis-ci and then upload it somewhere with link attached in README.

from lazygit.

Code0x58 avatar Code0x58 commented on May 20, 2024

I've used Travis to build binaries before for releases on github, then you can just have download based instructions (or use those binaries in package managers):

example PR on atombender/ktail with setup instructions.

from lazygit.

jesseduffield avatar jesseduffield commented on May 20, 2024

I ended up using travis ci and we've got releases / binaries working :) Please feel free to have a look at the .travis.yml and see if there's any improvements that could be made

from lazygit.

dawidd6 avatar dawidd6 commented on May 20, 2024

Can we also build binaries for other architectures like arm and arm64?

from lazygit.

jesseduffield avatar jesseduffield commented on May 20, 2024

yep, getting onto that now

from lazygit.

jesseduffield avatar jesseduffield commented on May 20, 2024

closing

from lazygit.

Tallefer avatar Tallefer commented on May 20, 2024

@jesseduffield What do you think about adding 32 bit builds to the bunch?

from lazygit.

jesseduffield avatar jesseduffield commented on May 20, 2024

@Tallefer I've chucked 32 bit builds in the latest release :) https://github.com/jesseduffield/lazygit/releases/tag/v0.1.66

from lazygit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.