-
Notifications
You must be signed in to change notification settings - Fork 101
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
Add workflow for continuous delivery #569
Conversation
Thanks Sebastian @awvwgk, this would be very useful. Quick question: is this restricted to the main branch? I can't see anything that would prevent it running on pushes to other branches. |
It will run on any push event, this includes feature branches on forks. Since we only have a single branch in the main repository this is not an issue (now), but it enables contributors to make use of building continuous releases on their forks for testing purposes. We can limit it to the main branch of course if this is a concern. |
I can see the benefit of this for testing, however I don't like the fact that the |
05ae209
to
9822a4a
Compare
9822a4a
to
4e5376a
Compare
I added a dependency on a repository secret |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Sebastian, LGTM 👍
Is it possible to link to the current
release download page from the README or does it change with each deployment?
The tag will move but the URL will remain unchanged (a nice thing about git, even tags are mutable). To overwrite the artifacts on the tag, I'm stripping the version number information from the artifacts otherwise they would pile up over time on this release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thank you! I don't understand all the details of the CI.yml, but agree with the overall strategy. Please merge when ready.
Since our default branch is always deployable, we can easily create a continuous release which contains the latest fpm binaries and source version. This PR adds a workflow to create and move a tag called
current
with the head of the git repository and update the binary artifacts to the latest CI outputs.Example: https://github.com/awvwgk/fortran-package-manager/releases/tag/current