Repository navigation
LDEV-6681 GitHub release with .lex for every final, ALPHA, BETA and RC build - #18
Merged
Merged
Conversation
…, ALPHA, BETA and RC build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://luceeserver.atlassian.net/browse/LDEV-6681
Every final, ALPHA, BETA and RC build that gets published now also becomes a GitHub release with its
.lexfiles attached, so ext.lucee.org can redirect extension downloads to GitHub releases (LDEV-6511). Same approach as lucee/extension-s3#27 (LDEV-6604).What changes: a new job,
github-release, in.github/workflows/main.ymldeployunder the same condition as the Maven Central / S3 upload (needs.setup.outputs.publish == 'true': push or manual run on master/main, a version branch or release/*).-SNAPSHOTbuilds. They get no GitHub release.needs.setup.outputs.version, e.g.3.1.0.2or3.1.0.2-RC). The release creates the tag on the built commit (--target $GITHUB_SHA); an existing tag with that name is reused.esapi-extension-<version>.lexand.lite.lex(if built), taken from theesapi-s3artifact, so they are the same files the S3 job uploads.--prerelease --latest=false. Finals built from the default branch are marked--latest; finals from any other branch are--latest=false.--clobber.GITHUB_TOKENwithcontents: writeon this job only. No new secrets, no hardcoded URLs or versions.actionlintpasses on the changed workflow.The historical non-SNAPSHOT versions from ext.lucee.org and Maven Central have been added as GitHub releases separately.