Skip to content

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

Merged
dhalbert merged 1 commit intoadafruit:9.1.xfrom
dhalbert:9.1.x-upload-branches
Aug 25, 2024
Merged

Upload merged PR's to AWS for x.x.x branches#9557
dhalbert merged 1 commit intoadafruit:9.1.xfrom
dhalbert:9.1.x-upload-branches

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
@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