Leftbower / cfspreadsheet-lucee-5

A cfspreadsheet extension for Lucee 5
23 stars 10 forks source link

Move generated .lex file into a GitHub tag/release #3

Closed chrisdpeters closed 8 years ago

chrisdpeters commented 8 years ago

I'd recommend removing cfspreadsheet-lucee-5.lex from the repo and attaching the build to a release instead.

To build the release:

git tag -a v1.0 -m "Tagging v1.0"
git push --tag

Then you'll see a new v1.0 entry under the Releases tab in GitHub.

When you go to edit the release, you can attach the generated .lex file to the release.

That way you can tag releases and provide the official .lex file and changelog notes along with the release. See how we do it for CFWheels.

Leftbower commented 8 years ago

Thanks Chris! Got the tag and release up there. Is there a way to automate the pushing of the .lex to the tag/release rather than the main repo?

chrisdpeters commented 8 years ago

It looks like maybe you're using Ant for the build? (I see a build.xml there in the root.)

It looks like you may be able to install github-release and have Ant run it after it's built the .lex file.