Skip to content
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

Upload merged PR's to AWS for x.x.x branches #9557

Merged
merged 1 commit into from
Aug 25, 2024

Conversation

dhalbert
Copy link
Collaborator

Currently only merged PR's to main are uploaded to https://adafruit-circuit-python.s3.amazonaws.com/index.html?prefix=bin. This is an attempt to upload merges for all branches ending in .x, so 9.1.x, etc.

The string operations available in if statements in the CI yaml files are limited. There are ways to do regexp, etc., that involve generating a result and then using it, but it's clumsier. However, I think doing it for *.x branches is probably good enough.

Only way to test this is to merge it, I think.

I'm trying to use extra indentation in the if: to make it easier to read. Not sure if that will work.

@dhalbert dhalbert merged commit 6375c56 into adafruit:9.1.x Aug 25, 2024
528 checks passed
@dhalbert
Copy link
Collaborator Author

Huzzah, it worked! From S3:

image

Sorry to bypass the approval checking, but I thought I was going to have to debug this and run the approval merge several times.

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine with me. Thanks for adding this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants