-
Notifications
You must be signed in to change notification settings - Fork 28
add action to attach lambda zips to release #1015
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
base: main
Are you sure you want to change the base?
Conversation
theodorehreuter
left a comment
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.
minor tweaks, approved to unblock
| on: | ||
| release: | ||
| types: | ||
| - published |
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.
lets add a tag validator too like tags: ['v.*.*.*] so this is only getting run on proper releases that are versioned correctly not just any old tag. Maybe that's not quite the intent but adding only to official releases seems logical.
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.
Actually, it looks like the tags filter is only available for the push event: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax. release only supports the types filter.
| - name: Get node version | ||
| run: echo "NODE_VERSION=$(cat .nvmrc)" >> "$GITHUB_ENV" | ||
| - name: Get stac-server version | ||
| run: echo "STAC_SERVER_VERSION=$(npm pkg get version | tr -d '\"')" >> "$GITHUB_ENV" |
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.
can we get this from the tag being created instead ala github.ref_name? If you opted to go that way.
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.
Oh, very good call, that cleans the workflow up a lot actually!
Proposed Changes:
PR Checklist: