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

Create source code packages by adding release tags #6133

Merged
merged 1 commit into from Feb 19, 2024

Conversation

dearblue
Copy link
Contributor

According to the GitHub blog, files by git archive are not guaranteed to have checksum persistence.
It is also stated that the archive file at this time is stable in bytes, but that this may change in the future.


Creating a tag in the format "x.y.z" will cause a build for release and the source code will be published in the form of a tarball.
If the tag name contains "-rc", it will be published as a "pre-release".
Release notes are taken from the contents of the NEWS file.

For GitHub Actions logs and previews, please follow the URL below (this repository will eventually be removed).

@dearblue
Copy link
Contributor Author

In the future, you may be able to do the following
However, this does not necessarily mean I will do it.

  • Files required as a package can be generated automatically in advance.
    For example, in the future, it will no longer be necessary to include "mrbgems/mruby-compiler/core/y.tab.c" in the repository.
  • In the future, even when git submodules are used to incorporate other repositories, the release package can be reliably included.
  • Automate the provision of pre-built binary packages.
    MSVC 32/64, mingw32, mingw32-x64, etc.?
  • It may be possible to provide source code packages that cannot be modified at build time but do not require Ruby.
    In this case, we might just generate a presym-related file and a "Makefile" or "CMakefile" file?
    This might be a solution for Support in Vcpkg #6016.

According to the [GitHub blog](https://github.blog/2023-02-21-update-on-the-future-stability-of-source-code-archives-and-hashes/), files by `git archive` are not guaranteed to have checksum persistence.
It is also stated that the archive file at this time is stable in bytes, but that this may change in the future.
@dearblue
Copy link
Contributor Author

The main change is that it no longer fires in the clone repository.

@dearblue dearblue marked this pull request as ready for review December 29, 2023 09:00
@matz matz merged commit 2f77f2b into mruby:master Feb 19, 2024
11 of 12 checks passed
@dearblue dearblue deleted the auto-release branch February 24, 2024 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants