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

Update release for preview builds #4575

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

Kas-tle
Copy link
Member

@Kas-tle Kas-tle commented Apr 16, 2024

Needs

  • Merge of Rewrite bibliothek-build-monitor#2 and deployment to Downloads API box
  • Creation of a GitHub app on the organization per https://github.com/Kas-tle/base-release-action?tab=readme-ov-file#usage
    • Create a GH app with the scopes Contents (Read & Write), Metadata (Read-only), Variables (Read & Write), and Actions (Read-only) and grant it access to all repos from which builds are deployed:
      • GeyserMC/Geyser
      • GeyserMC/Floodgate
      • GeyserMC/GeyserConnect
      • GeyserMC/GeyserOptionalPack
      • GeyserMC/Hydraulic
      • GeyserMC/Erosion
    • Create org secrets RELEASE_APP_ID and RELEASE_APP_PK with the created app ID and its private key in normal pem format
    • On all repos, in order to give the action the required info to generate changelogs and have build numbers be correct, set a repository level variable named RELEASEACTION_PREVRELEASE where the format is {"master":{"c":"b863fa0f89bd15267a96a72efb84aec25f168d4c","t":"11"}}, using the branch name, last commit sha (c), and last build number (t)
  • Make build action changes on all other repos

Usage

  • Builds will now use sequential build numbers
  • PRs with the tag PR: Needs Testing will now be deployed to the downloads api under the project geyser-preview and version pr.NUMBER; build number will be the run number for the PR action, but the latest endpoint can be used

@Kas-tle Kas-tle merged commit de7ae14 into GeyserMC:master Apr 18, 2024
1 check passed
@Kas-tle Kas-tle mentioned this pull request Apr 20, 2024
XingLingQAQ pushed a commit to XingLingQAQ/Geyser that referenced this pull request Sep 25, 2024
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.

2 participants