-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Allow templating of galaxy.yml file for version key #49
Comments
That's a great idea, I'll work on this over the weekend |
Made some significant refactors and completed #17 which puts me in a good place to get this done tomorrow. I'll link the PR to this issue. Will be validating semver-compliant input with https://github.com/npm/node-semver. galaxy_versionSemver-compatible string: Dynamically inject a semver-compatible version into your |
|
You should minimally use |
I've been working on publishing collections on git tags from GitHub automatically, and have it set up for some of my personal collections, but have had to hold of on doing it for other collections like
community.kubernetes
(see ansible-collections/community.kubernetes#43) because the Galaxy token is global to my account, and anyone who could get some code into the Kubernetes collection could technically push to any project I have rights to in Galaxy.However, in my personal collections, I also use a templated
galaxy.yml
file which lets me inject a version at build time (so I don't have to commit the version to GitHub, then tag it, then release it). Is there any way this action could support injecting a tag, e.g. when GitHub Actions runs, it grabs the tag (if it's a tag build), templates it intogalaxy.yml
, then runs the build and pushes the artifact?The text was updated successfully, but these errors were encountered: