Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: setup Nightly build #228

Closed
ghost opened this issue Apr 2, 2024 · 9 comments
Closed

FR: setup Nightly build #228

ghost opened this issue Apr 2, 2024 · 9 comments
Assignees
Labels
enhancement New feature or request ready for release

Comments

@ghost
Copy link

ghost commented Apr 2, 2024

Like this: https://github.com/AdeptLanguage/Adept/releases/tag/Nightly

Or this: https://github.com/pragtical/pragtical/releases/tag/rolling

Will help people that can't build their own version of ecode from latest code: #227

@SpartanJ SpartanJ self-assigned this Apr 2, 2024
@SpartanJ SpartanJ added the enhancement New feature or request label Apr 2, 2024
@SpartanJ
Copy link
Owner

SpartanJ commented Apr 2, 2024

Yes, I think I'll try to setup a nightly build, also because building all the packages for a new release is currently a manual process where I depend on several computers.

@Curculigo
Copy link

Curculigo commented Jul 22, 2024

Believe it or not, I decided to learn C++ with this very old laptop that only has 4GB of RAM. I can't afford compiling from source to access the latest fixes. A Nightly build will really help. I don't want to wait for months to get a new release!

@SpartanJ
Copy link
Owner

I'll try to set it up soon. I'm not very familiar with Github Actions and I was being a little lazy because of that.

SpartanJ added a commit to SpartanJ/eepp that referenced this issue Sep 29, 2024
@SpartanJ
Copy link
Owner

Nightly builds for Linux and Windows should start producing since this commit. They will be found here.

@Curculigo
Copy link

Can ecode nightly update itself? Or the update feature is only available on normal releases?

@SpartanJ
Copy link
Owner

SpartanJ commented Oct 2, 2024

Update notifications won't happen for the moment unless your nightly is older than a released build, nightly takes the next-release version (currently 0.6.2). It's needed a different versioning for nightly, so not for the moment.

As for self-updater is pending for all kind of releases. It's kinda tricky since there are several different distribution types (AppImage, zip/tar.gz, dmg, flatpak, and also in distro/OS repositories).

@chatchoi
Copy link

chatchoi commented Oct 3, 2024

You can add the build number or the timestamp (or date time) to the version string.

Update: or git revision (git describe?).

@SpartanJ
Copy link
Owner

SpartanJ commented Oct 3, 2024

Yeah, git describe could come handy, but I need to change how releases are checked internally and patch the version number in code. It's not hard, but as everything, takes some time.

@SpartanJ
Copy link
Owner

Nightly builds started having a release number version different from the stable releases, this allows to notify if there's a new stable version newer than the nightly build you're using. I decided not to report for new nightly builds given that there's a new one every single day, I prefer to notify about stable releases.

@SpartanJ SpartanJ closed this as completed Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ready for release
Projects
None yet
Development

No branches or pull requests

3 participants