Skip to content

Commit d7c7335

Browse files
committed
Add instructions on how to manually publish an ORB
Might be necessary for authorization issues or to have better control.
1 parent 88bd66d commit d7c7335

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build/*.yml

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,15 @@ release a new version of the Orb, using semver and following these rule:
7575
> modifications to executors, examples, or @orb.yml trigger a minor release;
7676
> modifications to the orb’s config.yml file trigger a patch release;
7777
78+
### Publish a development version from the CLI
79+
80+
Reference: https://circleci.com/docs/2.0/creating-orbs/#using-the-cli-to-publish-orbs
81+
82+
1. Setup the CircleCI CLI (https://circleci.com/docs/2.0/creating-orbs/#step-1---set-up-the-circleci-cli)
83+
2. Buid a one-file version of the orb with `circleci config pack src/ > build/orb.yml`
84+
3. Publish the ORB with a development version (e.g. one linked to your current PR): `circleci orb publish build/orb.yml solidusio/extensions@dev:pr-123`
85+
4. Test the ORB on a project updating the version `solidusio_extensions: solidusio/extensions@dev:pr-123`
86+
7887
## License
7988

8089
The Orb is available as open source under the terms of the MIT License

build/.keep

Whitespace-only changes.

0 commit comments

Comments
 (0)