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

maint: add publish-dev step #113

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

maint: add publish-dev step #113

wants to merge 5 commits into from

Conversation

JamieDanielson
Copy link
Contributor

@JamieDanielson JamieDanielson commented Oct 16, 2024

DO NOT MERGE. Currently this is just publishing a dev orb from my branch to try things out.

Which problem is this PR solving?

  • Maybe this lets us publish dev orbs on merges to main?

Short description of the changes

  • add workflow to publish merges to main as dev orbs

according to orb-tools/publish docs on pub_type:

Select the publishing type. Available options are "dev" and "production". If "production" is selected, the orb will be published to the orb registry only if the $CIRCLE_TAG environment variable is set. Publishing will be skipped otherwise. If "dev" is selected, two tags will be created: "dev:alpha" and "dev:".

How to verify that this has the expected result

A merge to main should publish dev:alpha. Reviewing this I'm seeing other publishing happens in test-deploy so maybe this should live there? And/or we should move those steps back to the main file.

DO NOT MERGE. Currently this is just publishing a dev orb from my branch to try things out.

https://circleci.com/developer/orbs/orb/circleci/orb-tools#jobs-publish
If "dev" is selected, two tags will be created:
dev:alpha and dev:SHA1
@JamieDanielson JamieDanielson requested a review from a team as a code owner October 16, 2024 22:36
@JamieDanielson JamieDanielson marked this pull request as draft October 16, 2024 22:48
@JamieDanielson JamieDanielson self-assigned this Oct 16, 2024
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.

1 participant