Replicate continuous release in non-GitHub actions Environment #3298
-
I'm working on trying to replicate the continuous release workflow with the manual release workflow in a non-GitHub actions environment. I've been successfully using manual releases for some time to create pre-release builds and publish directly to npm, etc. from my local machine. However, I'd now like to replicate that in our CI environment on main merges. I took a look at the projen release workflow, and it seems like release runs after push to main. I believe that means that
Thoughts? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
You'll need permissions to add a tag to the main branch. This isn't really a huge problem in my experience, but there are multiple ways of solving it. https://github.com/projen/projen has a protected main branch with "Do not allow bypassing the above settings" enabled. Tags are created via GitHub Releases, which uses unrelated permissions.
I think the only way to make this happen is by ensuring that:
This all seems awfully complicated to me. So typically a system like this is instead implemented by having a |
Beta Was this translation helpful? Give feedback.
You'll need permissions to add a tag to the main branch. This isn't really a huge problem in my experience, but there are multiple ways of solving it. https://github.com/projen/projen has a protected main branch with "Do not allow bypassing the above settings" enabled. Tags are created via GitHub Releases, which uses unrelated permissions.