Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Sep 22, 2025

Written by @cprecioso:

This PR adds a GitHub Action that automatically uploads the compressed template folder to the GitHub release when tags matching the wasp-v*-template pattern are created. You can also run it manually (thanks to the workflow_dispatch trigger)

Note

Started by a 🤖 robot and finished by a 👨🏻 human

Copilot AI and others added 2 commits September 22, 2025 11:05
Co-authored-by: cprecioso <511681+cprecioso@users.noreply.github.com>
Co-authored-by: cprecioso <511681+cprecioso@users.noreply.github.com>
@Copilot Copilot AI changed the title [WIP] Make a PR: Add a github action that, on creating or editing a tag, takes the template folder for it, compresses it in a .tar.gz, and uploads it to the github release of that tag. Add GitHub Action for automatic template release on tag creation Sep 22, 2025
@Copilot Copilot AI requested a review from cprecioso September 22, 2025 11:08
Copilot finished work on behalf of cprecioso September 22, 2025 11:08
cprecioso

This comment was marked as resolved.

Co-authored-by: cprecioso <511681+cprecioso@users.noreply.github.com>

This comment was marked as resolved.

@Copilot Copilot AI requested a review from cprecioso September 22, 2025 11:30
Copilot finished work on behalf of cprecioso September 22, 2025 11:30
@cprecioso cprecioso marked this pull request as ready for review September 22, 2025 11:32
@cprecioso cprecioso marked this pull request as draft September 22, 2025 11:32
@cprecioso cprecioso linked an issue Sep 22, 2025 that may be closed by this pull request
@cprecioso cprecioso removed their request for review September 23, 2025 12:53
@cprecioso cprecioso marked this pull request as ready for review September 23, 2025 12:55
@cprecioso cprecioso requested a review from infomiho September 25, 2025 11:47
@cprecioso
Copy link
Member

@infomiho ready

- name: Create draft release if it doesn't exist
run: |
if ! gh release view "$tag_name"; then
gh release create "$tag_name" --draft
Copy link
Collaborator

@infomiho infomiho Sep 26, 2025

Choose a reason for hiding this comment

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

Why --draft? If we push a tag, it's a pretty explicit signal that we want to publish it. Maybe we can publish it directly instead of making it a draft first?

Copy link
Member

Choose a reason for hiding this comment

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

Yep you're right, I was thinking that there might be some cases blah blah blah but probably just creating the tag is better

Copy link
Collaborator

@infomiho infomiho left a comment

Choose a reason for hiding this comment

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

Left one extra comment - feel free to merge after you resolve it. I'm looking forward to testing this!

@cprecioso cprecioso merged commit 39a0226 into main Sep 26, 2025
1 check passed
@cprecioso cprecioso deleted the copilot/fix-5210f3de-b9a2-4b63-bf32-e400c2097853 branch September 26, 2025 11:08
@cprecioso
Copy link
Member

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.

3 participants