-
Notifications
You must be signed in to change notification settings - Fork 36
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
Feature: Get last n
releases || releases compatible with semver range
#6
Comments
I'm willing to help by contributing this feature if you like the idea. I was actually going to create this "get release" action, and figured I'd search the marketplace first. Ironically, @foosel is a contributor to this action, and she's the maintainer of the product I'm supporting docker images for! I also recently released the |
Here's what I'm thinking this could look like: (see example of creating a matrix in one job and passing it to another from github actions docs jobs:
releases:
outputs:
matrix: ${{ steps.releases.outputs.matrix }}
steps:
# produces a matrix with a key of `matrix`
- name: Get Releases
id: releases
uses: pozetroninc/github-action-get-latest-release
with:
repository: some/repository
semver: '^1.0.0'
build:
needs: releases
strategy:
matrix: ${{ needs.releases.outputs.matrix }} |
related #5 |
Hey @LongLiveCHIEF, that sounds like a super useful idea! If I understand correctly though, it would mean that I'll then port the semver functionality to this action so that this action gets the latest single release that matches the semver and point people in the README to the sibling action for getting a list of releases if that's their use case. Does that sound like a good idea? |
I had the same thought, just didn't want to preempt you. |
Did the fork happen, or did everyone fall down a well? :) |
Moved it here: HackerHappyHour/tagging-strategy#37
...then came the well.
…On Thu, Jun 10, 2021, 5:17 PM Danny Sauer ***@***.***> wrote:
Did the fork happen, or did everyone fall down a well? :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZBLAOJM3D3KJQPUOMU52TTSE2WBANCNFSM4P7VZMSA>
.
|
Often if you're doing something like building a docker image around a product (for me it's the official octoprint/octoprint image), then you need to not only build an image for the latest release of a product, but several of the previous releases.
It would be great to be able to specify the last
n
releases, or to specify a semver input and get all tags that match.The text was updated successfully, but these errors were encountered: