spec icon indicating copy to clipboard operation
spec copied to clipboard

pre-release version?

Open eitsupi opened this issue 3 years ago • 5 comments

When developing new Features or Templates, we may want to include it in the default branch of the repository, but not release it yet. In such cases, it may be useful to set a status that prevents release.

Something like:

	"prerelease": true

eitsupi avatar Aug 05 '23 10:08 eitsupi

Hi 👋

Trying to clarify my understanding for this issue 👀

Majority of the community uses devcontainers/action to release Features/Templates. @eitsupi are you expecting the devcontainers/action to support this new (prerelease) option which avoids creating a release?

The devcontainers/features repo, runs this action as soon as the PR is merged (which ends up creating a new release). However, the workflow cadence can be controlled within the workflow (like switching it to manual runs, @eitsupi wondering if that could help in the meanwhile?)

samruddhikhandale avatar Aug 07 '23 21:08 samruddhikhandale

Thanks for the reply. Your understanding is correct. The only workaround now is to not execute the command to publish.

eitsupi avatar Aug 07 '23 22:08 eitsupi

Nice, transferred to the action repo! I think this should be easily doable and helpful for folks, @joshspicer any concerns?

samruddhikhandale avatar Aug 07 '23 22:08 samruddhikhandale

I assume this is a new field of devcontainer.json, so I assumed it would need to be defined in the Spec.

eitsupi avatar Aug 07 '23 23:08 eitsupi

Ah, my bad. I assumed it to be added as a new property for the action. I can transfer again 😅

samruddhikhandale avatar Aug 08 '23 16:08 samruddhikhandale