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

Build Grim #1477

Open
wants to merge 16 commits into
base: 2.0
Choose a base branch
from
Open

Build Grim #1477

wants to merge 16 commits into from

Conversation

Anthony01M
Copy link
Contributor

This PR allows GrimAC to automatically build itself and gets released to Github Releases.
preview:
image

@ManInMyVan
Copy link
Contributor

  1. Why would we release every build?
  2. We already do this (minus releases) https://github.com/GrimAnticheat/Grim/blob/2.0/.github/workflows/gradle-publish.yml

@Anthony01M
Copy link
Contributor Author

Anthony01M commented May 20, 2024 via email

@AoElite
Copy link
Collaborator

AoElite commented May 20, 2024

@Anthony01M iawia002/get-tag-or-commit-id@v1 seems outdated & not really sure what it's for

@Anthony01M
Copy link
Contributor Author

Anthony01M commented May 20, 2024

@Anthony01M iawia002/get-tag-or-commit-id@v1 seems outdated & not really sure what it's for

used for tag_name in Release to Github
image
couldn't really find an alternative way to do it so yeah

This basically gets the last commit and just puts it as a tag btw forgot to explain

@ManInMyVan
Copy link
Contributor

ManInMyVan commented May 20, 2024

Why not modify the existing workflow?

@Anthony01M
Copy link
Contributor Author

Why not modify the existing workflow?

didn't notice it does almost what I do, but anyways, for some reason the change logs just errors out, so commented that until I find a fix myself later on, this works now without change logs being recorded unfortunately.

Comment on lines +63 to +64
draft: false
prerelease: false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd mark these releases as pre-releases or drafts. It'll get confusing over time.

@Anthony01M
Copy link
Contributor Author

Anthony01M commented May 27, 2024 via email

@jonesdevelopment
Copy link
Contributor

This is the main branch tho, so it should be release, not draft or prerelease. LMK if you have another opinion.

That's true. I thought that since these releases aren't any "official" releases (e.g., ones that are uploaded to plugin websites like Hangar or SpigotMC), they shouldn't be marked as releases but rather pre-releases.

@Anthony01M
Copy link
Contributor Author

Anthony01M commented May 27, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants